webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Class Methods | Public Attributes | Properties | List of all members
RTCSessionDescription Class Reference

#import <RTCSessionDescription.h>

Inheritance diagram for RTCSessionDescription:
NSObject NSObject

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithType:sdp:
 
(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithType:sdp:
 
(instancetype) - initWithNativeDescription: [implementation]
 
(instancetype) - initWithNativeDescription: [implementation]
 
(NSData *) - JSONData
 
(NSData *) - JSONData
 

Class Methods

(NSString *) + stringForType:
 
(RTCSdpType+ typeForString:
 
(NSString *) + stringForType:
 
(RTCSdpType+ typeForString:
 
(std::string+ stdStringForType: [implementation]
 
(std::string+ stdStringForType: [implementation]
 
(RTCSdpType+ typeForStdString: [implementation]
 
(RTCSdpType+ typeForStdString: [implementation]
 
(RTCSessionDescription *) + descriptionFromJSONDictionary:
 
(RTCSessionDescription *) + descriptionFromJSONDictionary:
 

Public Attributes

readonly attribute RTCSdpType type
 
readonly attribute DOMString sdp
 
 serializer = {type, sdp}
 

Properties

RTCSdpType type
 
NSStringsdp
 
webrtc::SessionDescriptionInterfacenativeDescription [implementation]
 

Method Documentation

◆ descriptionFromJSONDictionary:() [1/2]

+ (RTCSessionDescription *) descriptionFromJSONDictionary: (NSDictionary *)  dictionary

Provided by category RTCSessionDescription(JSON).

◆ descriptionFromJSONDictionary:() [2/2]

+ (RTCSessionDescription *) descriptionFromJSONDictionary: (NSDictionary *)  dictionary

Provided by category RTCSessionDescription(JSON).

◆ initWithNativeDescription:() [1/2]

- (instancetype) initWithNativeDescription: (const webrtc::SessionDescriptionInterface *)  nativeDescription
implementation

Initialize an RTCSessionDescription from a native SessionDescriptionInterface. No ownership is taken of the native session description.

◆ initWithNativeDescription:() [2/2]

- (instancetype) initWithNativeDescription: (const webrtc::SessionDescriptionInterface *)  nativeDescription
implementation

Initialize an RTCSessionDescription from a native SessionDescriptionInterface. No ownership is taken of the native session description.

◆ initWithType:sdp:() [1/2]

- (instancetype) initWithType: (RTCSdpType type
sdp: (NSString *)  NS_DESIGNATED_INITIALIZER 

Initialize a session description with a type and SDP string.

◆ initWithType:sdp:() [2/2]

- (instancetype) initWithType: (RTCSdpType type
sdp: (NSString *)  NS_DESIGNATED_INITIALIZER 

Initialize a session description with a type and SDP string.

◆ JSONData() [1/2]

- (NSData *) JSONData

Provided by category RTCSessionDescription(JSON).

◆ JSONData() [2/2]

- (NSData *) JSONData

Provided by category RTCSessionDescription(JSON).

◆ NS_UNAVAILABLE() [1/2]

- (instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE() [2/2]

- (instancetype) NS_UNAVAILABLE

◆ stdStringForType:() [1/2]

+ (string RTCSessionDescription()): (RTCSdpType type
implementation

◆ stdStringForType:() [2/2]

+ (string RTCSessionDescription()): (RTCSdpType type
implementation

◆ stringForType:() [1/2]

+ (NSString *) stringForType: (RTCSdpType type

◆ stringForType:() [2/2]

+ (NSString *) stringForType: (RTCSdpType type

◆ typeForStdString:() [1/2]

+ (RTCSdpType) typeForStdString: (const std::string &)  string
implementation

◆ typeForStdString:() [2/2]

+ (RTCSdpType) typeForStdString: (const std::string &)  string
implementation

◆ typeForString:() [1/2]

+ (RTCSdpType) typeForString: (NSString *)  string

◆ typeForString:() [2/2]

+ (RTCSdpType) typeForString: (NSString *)  string

Member Data Documentation

◆ sdp

- (readonly attribute DOMString) sdp

◆ serializer

- serializer = {type, sdp}

◆ type

Property Documentation

◆ nativeDescription

- (SessionDescriptionInterface* RTCSessionDescription()):
readnonatomicassignimplementation

The native SessionDescriptionInterface representation of this RTCSessionDescription object. This is needed to pass to the underlying C++ APIs.

◆ sdp

- (NSString *) sdp
readnonatomicassign

The SDP string representation of this session description.

◆ type

- (RTCSdpType) type
readnonatomicassign

The type of session description.


The documentation for this class was generated from the following files: