Sip Endpoint SDK for Apple OS
 All Classes Functions Properties
<GSDevicePolicyDelegate> Protocol Reference

#import <GSDevicePolicyDelegate.h>

Inheritance diagram for <GSDevicePolicyDelegate>:
<GSPolicyDelegate> GSDefaultDevicePolicy

List of all members.

Public Member Functions

(id< GSDevice >) - chooseActiveInputDeviceFromList:forMedia:
(id< GSDevice >) - chooseActiveOutputDeviceFromList:forMedia:
(BOOL) - useHeadset
(GSFlagState) - headsetAvailable
- Public Member Functions inherited from
(void) - configureWithDictionary:

Detailed Description

This delegate is used to define aspects of the device manager's behavior.

Definition at line 16 of file GSDevicePolicyDelegate.h.


Member Function Documentation

- (id<GSDevice>) chooseActiveInputDeviceFromList: (NSArray *)  deviceList
forMedia: (GSMedia *)  media 

Implement to define the device that should be used for input. This method will be called on startup as well as when a device has been connected or disconnected.

Parameters:
deviceListthe list of current system input devices
mediathe media type for which the selected device will be used
Returns:
the device to use for input
- (id<GSDevice>) chooseActiveOutputDeviceFromList: (NSArray *)  deviceList
forMedia: (GSMedia *)  media 

Implement to define the device that should be used for output. This method will be called on startup as well as when a device has been connected or disconnected.

Parameters:
deviceListthe list of current system output devices
mediathe media type for which the selected device will be used
Returns:
the device to use for output
- (GSFlagState) headsetAvailable

Implement to define the audio device that should be used for session.

Returns:
GSFlagStateTrue if headset device is available to use
GSFlagStateFalse if headset device is Not available to use
GSFlagStateUnknown if headset device availability is not applicable in the configuration
- (BOOL) useHeadset

Implement to define the audio device that should be used for session.

Returns:
YES to use headset the device to use for output

The documentation for this protocol was generated from the following file: