webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Class Methods | List of all members
RTCMediaConstraints Class Reference

#import <RTCMediaConstraints.h>

Inheritance diagram for RTCMediaConstraints:
NSObject NSObject

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithMandatoryConstraints:optionalConstraints:
 
(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithMandatoryConstraints:optionalConstraints:
 
(std::unique_ptr< webrtc::MediaConstraints >) - nativeConstraints [implementation]
 
(std::unique_ptr< webrtc::MediaConstraints >) - nativeConstraints [implementation]
 

Class Methods

(webrtc::MediaConstraintsInterface::Constraints+ nativeConstraintsForConstraints: [implementation]
 
(webrtc::MediaConstraintsInterface::Constraints+ nativeConstraintsForConstraints: [implementation]
 
(RTCMediaConstraints *) + constraintsFromJSONDictionary:
 
(RTCMediaConstraints *) + constraintsFromJSONDictionary:
 

Method Documentation

◆ constraintsFromJSONDictionary:() [1/2]

+ (RTCMediaConstraints *) constraintsFromJSONDictionary: (NSDictionary *)  dictionary

Provided by category RTCMediaConstraints(JSON).

◆ constraintsFromJSONDictionary:() [2/2]

+ (RTCMediaConstraints *) constraintsFromJSONDictionary: (NSDictionary *)  dictionary

Provided by category RTCMediaConstraints(JSON).

◆ initWithMandatoryConstraints:optionalConstraints:() [1/2]

- (instancetype) initWithMandatoryConstraints: (nullable NSDictionary< NSString *, NSString * > *)  mandatory
optionalConstraints: (nullable NSDictionary< NSString *, NSString * > *)  NS_DESIGNATED_INITIALIZER 

Initialize with mandatory and/or optional constraints.

◆ initWithMandatoryConstraints:optionalConstraints:() [2/2]

- (instancetype) initWithMandatoryConstraints: (nullable NSDictionary< NSString *, NSString * > *)  mandatory
optionalConstraints: (nullable NSDictionary< NSString *, NSString * > *)  NS_DESIGNATED_INITIALIZER 

Initialize with mandatory and/or optional constraints.

◆ nativeConstraints() [1/2]

- (unique_ptr<)webrtc:
implementation

A MediaConstraints representation of this RTCMediaConstraints object. This is needed to pass to the underlying C++ APIs.

◆ nativeConstraints() [2/2]

- (unique_ptr<)webrtc:
implementation

A MediaConstraints representation of this RTCMediaConstraints object. This is needed to pass to the underlying C++ APIs.

◆ nativeConstraintsForConstraints:() [1/2]

+ MediaConstraintsInterface: (NSDictionary< NSString *, NSString * > *)  constraints
implementation

Return a native Constraints object representing these constraints

◆ nativeConstraintsForConstraints:() [2/2]

+ MediaConstraintsInterface: (NSDictionary< NSString *, NSString * > *)  constraints
implementation

Return a native Constraints object representing these constraints

◆ NS_UNAVAILABLE() [1/2]

- (instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE() [2/2]

- (instancetype) NS_UNAVAILABLE

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