FMIceLinkDataChannel Class Reference

Inherits from FMIceLinkDataChannelBase : FMIceLinkDynamic : FMIceLinkSerializable : NSObject
Conforms to *
FMIceLinkDataChannel
Declared in FMIceLinkDataChannel.h
FMIceLinkDataChannel.m

Overview

A data channel.

+ dataChannelWithLabel:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.
+ (FMIceLinkDataChannel *)dataChannelWithLabel:(NSString *)label

Parameters

label

The label.

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.

Declared In

FMIceLinkDataChannel.h

+ dataChannelWithLabel:ordered:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.
+ (FMIceLinkDataChannel *)dataChannelWithLabel:(NSString *)label ordered:(bool)ordered

Parameters

label

The label.

ordered

if set to true [ordered].

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.

Declared In

FMIceLinkDataChannel.h

+ dataChannelWithLabel:ordered:subprotocol:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.
+ (FMIceLinkDataChannel *)dataChannelWithLabel:(NSString *)label ordered:(bool)ordered subprotocol:(NSString *)subprotocol

Parameters

label

The label.

ordered

Whether messages will be delivered in the order they are sent.

subprotocol

The subprotocol.

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.

Declared In

FMIceLinkDataChannel.h

– initWithLabel:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.
- (instancetype)initWithLabel:(NSString *)label

Parameters

label

The label.

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.

Declared In

FMIceLinkDataChannel.h

– initWithLabel:ordered:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.
- (instancetype)initWithLabel:(NSString *)label ordered:(bool)ordered

Parameters

label

The label.

ordered

if set to true [ordered].

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.

Declared In

FMIceLinkDataChannel.h

– initWithLabel:ordered:subprotocol:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.
- (instancetype)initWithLabel:(NSString *)label ordered:(bool)ordered subprotocol:(NSString *)subprotocol

Parameters

label

The label.

ordered

Whether messages will be delivered in the order they are sent.

subprotocol

The subprotocol.

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkDataChannel class.

Declared In

FMIceLinkDataChannel.h

– instance

Gets the current instance.
- (FMIceLinkDataChannel *)instance

Discussion

Gets the current instance.

Declared In

FMIceLinkDataChannel.h

– sendDataBytes:

Sends some bytes.
- (void)sendDataBytes:(FMIceLinkDataBuffer *)dataBytes

Parameters

dataBytes

The data bytes.

Discussion

Sends some bytes.

Declared In

FMIceLinkDataChannel.h

– sendDataString:

Sends a string.
- (void)sendDataString:(NSString *)dataString

Parameters

dataString

The data string.

Discussion

Sends a string.

Declared In

FMIceLinkDataChannel.h