Sip Endpoint SDK for Apple OS
<GSSession> Protocol Reference

#import <GSSession.h>

List of all members.

Public Member Functions

(BOOL) - supportsMedia:

Properties

GSSessionState state
NSString * sessionId
id< GSConnectionconnection
NSString * remoteParty
id< GSAudioStreamaudioStream

Detailed Description

This protocol represents a SIP session (i.e. call)

Definition at line 17 of file GSSession.h.


Member Function Documentation

- (BOOL) supportsMedia: (GSMedia *)  media

Use this method to determine whether the specified media type is supported by the current session.

Parameters:
mediaThe media type.
Returns:
YES if the media type is supported by the session, NO otherwise.

Property Documentation

- (id<GSConnection>) connection [read, retain]

Retrieves the connection via which this session was established.

Definition at line 32 of file GSSession.h.

- (NSString*) sessionId [read, copy]

d Retrieves the current session id.

Definition at line 27 of file GSSession.h.

- (GSSessionState) state [read, assign]

Retrieves the current session state

Definition at line 22 of file GSSession.h.


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