Sip Endpoint SDK for Apple OS
 All Classes Functions Properties
GSDeviceManager.h
1 //
2 // GSDeviceManager.h
3 // SipEndpoint
4 //
5 // Created by Vlad Baranovsky on 8/17/11.
6 // Copyright 2011 Genesys Labs. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "GSDevice.h"
11 #import "GSMedia.h"
12 #import "GSDeviceNotificationDelegate.h"
13 #import "GSDevicePolicyDelegate.h"
14 
15 @protocol GSDeviceManager <NSObject>
16 
24 - (id<GSDevice>) activeInputDeviceForMedia:(GSMedia*) media;
25 
33 - (id<GSDevice>) activeOutputDeviceForMedia:(GSMedia*) media;
34 
41 - (GSResult) useInputDevice:(id<GSDevice>) device forMedia:(GSMedia*) media;
42 
49 - (GSResult) useOutputDevice:(id<GSDevice>) device forMedia:(GSMedia*) media;
50 
56 - (NSArray*) systemDevices;
57 
64 - (NSArray*) systemDevicesForMedia:(GSMedia*) media;
65 
75 - (NSArray*) systemDevicesForMedia:(GSMedia*) media forInput:(BOOL) forInput forOutput:(BOOL) forOutput;
76 
80 @property (nonatomic, assign) id<GSDeviceNotificationDelegate> notificationDelegate;
81 
85 @property (nonatomic, assign) id<GSDevicePolicyDelegate> policyDelegate;
86 
94 @property (nonatomic) GSFlagState headsetAvailable;
95 
102 @property (nonatomic) BOOL headsetInAvailable;
103 
110 @property (nonatomic) BOOL headsetOutAvailable;
111 
112 @end