Sip Endpoint SDK for Apple OS
<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:

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

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