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

#import <GSDevice.h>

Inheritance diagram for <GSDevice>:
<GSAudioDevice> <GSVideoCaptureDevice>

List of all members.

Public Member Functions

(BOOL) - supportsMedia:

Properties

NSString * name
NSString * driverName
BOOL canInput
BOOL canOutput

Detailed Description

Represents a system input or output device that can be used for a media sesssion

Definition at line 17 of file GSDevice.h.


Member Function Documentation

- (BOOL) supportsMedia: (GSMedia *)  media

Determines whether the device supports the specified media type.

Parameters:
mediathe media type
Returns:
YES if the media type is supported, otherwise NO.

Property Documentation

- (BOOL) canInput
readnonatomicassign

Specifies whether the device can be used for input operations

Definition at line 32 of file GSDevice.h.

- (BOOL) canOutput
readnonatomicassign

Specifies whether the device can be used for output operations

Definition at line 37 of file GSDevice.h.

- (NSString*) driverName
readnonatomiccopy

The name of the driver for this device.

Definition at line 27 of file GSDevice.h.

- (NSString*) name
readnonatomiccopy

The name of the device.

Definition at line 22 of file GSDevice.h.


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