#import <RTCDataChannel.h>
◆ close() [1/3]
◆ close() [2/3]
◆ close() [3/3]
◆ dataChannelStateForNativeState:() [1/2]
◆ dataChannelStateForNativeState:() [2/2]
◆ initWithNativeDataChannel:() [1/2]
◆ initWithNativeDataChannel:() [2/2]
◆ nativeDataChannelStateForState:() [1/2]
+ DataChannelInterface: |
|
(RTCDataChannelState) |
state |
|
|
implementation |
◆ nativeDataChannelStateForState:() [2/2]
+ DataChannelInterface: |
|
(RTCDataChannelState) |
state |
|
|
implementation |
◆ NS_UNAVAILABLE() [1/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE() [2/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ send() [1/4]
- (void) send |
|
(ArrayBuffer) |
data |
|
◆ send() [2/4]
- (void) send |
|
(ArrayBufferView) |
data |
|
◆ send() [3/4]
◆ send() [4/4]
- (void) send |
|
(DOMString) |
data |
|
◆ sendData:() [1/2]
Attempt to send |data| on this data channel's underlying data transport.
◆ sendData:() [2/2]
Attempt to send |data| on this data channel's underlying data transport.
◆ stringForState:() [1/2]
+ (NSString *) stringForState: |
|
(RTCDataChannelState) |
state |
|
|
implementation |
◆ stringForState:() [2/2]
+ (NSString *) stringForState: |
|
(RTCDataChannelState) |
state |
|
|
implementation |
◆ binaryType
◆ bufferedAmount
◆ id
◆ label
◆ maxRetransmits
◆ maxRetransmitTime
- (NSUInteger) maxRetransmitTime |
◆ negotiated
◆ onclose
◆ onerror
◆ onmessage
◆ onopen
◆ ordered
◆ protocol
◆ readyState
◆ bufferedAmount
The number of bytes of application data that have been queued using |sendData:| but that have not yet been transmitted to the network.
◆ channelId
The identifier for this data channel.
◆ delegate
- (id< RTCDataChannelDelegate >) delegate |
|
readwritenonatomicweak |
The delegate for this data channel.
◆ DEPRECATED_ATTRIBUTE [1/3]
- (NSInteger streamId) DEPRECATED_ATTRIBUTE |
|
readnonatomicassign |
Whether the data channel can send messages in unreliable mode.
Deprecated. Use maxPacketLifeTime.
Deprecated. Use channelId.
◆ DEPRECATED_ATTRIBUTE [2/3]
◆ DEPRECATED_ATTRIBUTE [3/3]
- (NSInteger streamId) DEPRECATED_ATTRIBUTE |
|
readnonatomicassign |
◆ isNegotiated
Returns whether this data channel was negotiated by the application or not.
◆ isOrdered
Returns whether this data channel is ordered or not.
◆ label
A label that can be used to distinguish this data channel from other data channel objects.
◆ maxPacketLifeTime
The length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable mode.
◆ maxRetransmits
The maximum number of retransmissions that are attempted in unreliable mode.
◆ protocol
The name of the sub-protocol used with this data channel, if any. Otherwise this returns an empty string.
◆ readyState
- (RTCDataChannelState) readyState |
|
readnonatomicassign |
The state of the data channel.
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/WebCore/Modules/mediastream/RTCDataChannel.idl
- Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/RTCDataChannel.mm