#import <RTCDataChannel.h>
◆ initWithData:isBinary:() [1/2]
- (instancetype) initWithData: |
|
(NSData *) |
data |
isBinary: |
|
(BOOL) |
isBinary |
|
|
| |
Initial value:{
std::unique_ptr<webrtc::DataBuffer> _dataBuffer
Initialize an RTCDataBuffer from NSData. |isBinary| indicates whether |data| contains UTF-8 or binary data.
◆ initWithData:isBinary:() [2/2]
- (instancetype) initWithData: |
|
(NSData *) |
data |
isBinary: |
|
(BOOL) |
isBinary |
|
|
| |
Initialize an RTCDataBuffer from NSData. |isBinary| indicates whether |data| contains UTF-8 or binary data.
◆ initWithNativeBuffer:() [1/2]
◆ initWithNativeBuffer:() [2/2]
◆ NS_UNAVAILABLE() [1/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE() [2/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ data
NSData representation of the underlying buffer.
◆ isBinary
Indicates whether |data| contains UTF-8 or binary data.
◆ nativeDataBuffer
|
readnonatomicassignimplementation |
The native DataBuffer representation of this RTCDatabuffer object. This is needed to pass to the underlying C++ APIs.
The documentation for this class was generated from the following files:
- DerivedData/WebKit/Build/Products/Debug/usr/local/include/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCDataChannel.h
- Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCDataChannel.mm