Sip Endpoint SDK for Apple OS
/Users/valerypolishchuk/Projects/sepsdk-03.09.12/MacOS/Endpoint/Src/Headers/GSDeviceManager.h
00001 //
00002 //  GSDeviceManager.h
00003 //  SipEndpoint
00004 //
00005 //  Created by Vlad Baranovsky on 8/17/11.
00006 //  Copyright 2011 Genesys Labs. All rights reserved.
00007 //
00008 
00009 #import <Foundation/Foundation.h>
00010 #import "GSDevice.h"
00011 #import "GSMedia.h"
00012 #import "GSDeviceNotificationDelegate.h"
00013 #import "GSDevicePolicyDelegate.h"
00014 
00015 @protocol GSDeviceManager <NSObject>
00016 
00024 - (id<GSDevice>) activeInputDeviceForMedia:(GSMedia*) media;
00025 
00033 - (id<GSDevice>) activeOutputDeviceForMedia:(GSMedia*) media;
00034 
00041 - (GSResult) useInputDevice:(id<GSDevice>) device forMedia:(GSMedia*) media;
00042 
00049 - (GSResult) useOutputDevice:(id<GSDevice>) device forMedia:(GSMedia*) media;
00050 
00056 - (NSArray*) systemDevices;
00057 
00064 - (NSArray*) systemDevicesForMedia:(GSMedia*) media;
00065 
00075 - (NSArray*) systemDevicesForMedia:(GSMedia*) media forInput:(BOOL) forInput forOutput:(BOOL) forOutput;
00076 
00080 @property (nonatomic, assign) id<GSDeviceNotificationDelegate> notificationDelegate;
00081 
00085 @property (nonatomic, assign) id<GSDevicePolicyDelegate> policyDelegate;
00086 @end