TCGCustomTransChannel Class Reference

Inherits from NSObject
Declared in TCGCustomTransChannel.h
TCGCustomTransChannel.m

– sendData:

向云端程序发送二进制数据

- (int)sendData:(NSData *)data

Return Value

发送状态。0发送成功,-1 数据超过长度, -2 当前通道未连接成功

Discussion

向云端程序发送二进制数据

一次最多能发送1200bytes的数据

Declared In

TCGCustomTransChannel.h

– close

关闭通道

- (void)close

Discussion

关闭通道

Declared In

TCGCustomTransChannel.h