Sip Endpoint SDK for Apple OS
|
Public Member Functions | |
(id< GSDevice >) | - activeInputDeviceForMedia: |
(id< GSDevice >) | - activeOutputDeviceForMedia: |
(GSResult) | - useInputDevice:forMedia: |
(GSResult) | - useOutputDevice:forMedia: |
(NSArray *) | - systemDevices |
(NSArray *) | - systemDevicesForMedia: |
(NSArray *) | - systemDevicesForMedia:forInput:forOutput: |
Properties | |
id< GSDeviceNotificationDelegate > | notificationDelegate |
id< GSDevicePolicyDelegate > | policyDelegate |
Definition at line 15 of file GSDeviceManager.h.
Retrieve the input device (e.g. microphone) that is currently used for the specified media type.
media | the media type for which to retrieve the input device |
Retrieve the output device (e.g. speaker) that is currently used for the specified media type.
media | the media type for which to retrieve the output device |
- (NSArray*) systemDevices |
Returns the list of all input/output devices configured in the system.
- (NSArray*) systemDevicesForMedia: | (GSMedia *) | media |
Returns the list of all input/output devices that support the specified media type.
media | specifies the media type that the returned devices should support |
- (NSArray*) systemDevicesForMedia: | (GSMedia *) | media | |
forInput: | (BOOL) | forInput | |
forOutput: | (BOOL) | forOutput | |
Returns a list of devices which match the specified filters.
media | if specified, allows the user to retrieve devices that support the specified media type |
forInput | if YES, input devices will be included, if NO, input devices will not be included |
forOutput | if YES, output devices will be included, if NO, output devices will not be included |
This method should be called to set the input device for the specified media.
device | the device to be used as the input device (e.g. microphone) |
media | the media type for which this input device will be used (e.g. audio) |
This method should be called to set the output device for the specified media.
device | the device to be used as the output device (e.g. speaker) |
media | the media type for which this output device will be used (e.g. audio) |
- (id<GSDeviceNotificationDelegate>) notificationDelegate [read, write, assign] |
Get/set the delegate that will be used to recieve notifications about device state
Definition at line 80 of file GSDeviceManager.h.
- (id<GSDevicePolicyDelegate>) policyDelegate [read, write, assign] |
Get/set the delegate that will be used to specify the device manager's behavior.
Definition at line 85 of file GSDeviceManager.h.