CustomDataChannel Class Reference

Inherits from NSObject
Declared in CustomDataChannel.h
CustomDataChannel.m

– send:

Send data to the cloud Application.

- (BOOL)send:(NSData *)data

Parameters

data

The data to be sent, which cannot exceed 1,200 bytes.

Return Value

true if success, false otherwise.

Discussion

Send data to the cloud Application.

Declared In

CustomDataChannel.h

– close

Close this data channel.

- (void)close

Discussion

Close this data channel.

Declared In

CustomDataChannel.h