ZegoRealTimeSequentialDataManager Class Reference
Inherits from | NSObject |
---|---|
Declared in | ZegoExpressDefines.h |
– setEventHandler:
Event handler for real-time sequential data
- (void)setEventHandler:(nullable id<ZegoRealTimeSequentialDataEventHandler>)handler
Parameters
handler |
Event handler for real-time sequential data |
---|
Declared In
ZegoExpressDefines.h
– startBroadcasting:
Stream ID, a string of up to 256 characters. Caution: 1. Need to be globally unique within the entire AppID (Note that it cannot be the same as the stream ID passed in [startPublishingStream]). If in the same AppID, different users publish each stream and the stream ID is the same, which will cause the user to publish the stream failure. You cannot include URL keywords, otherwise publishing stream and playing stream will fails. 2. Only support numbers, English characters and ‘-’, ‘_’.
- (void)startBroadcasting:(NSString *)streamID
Parameters
streamID |
Stream ID, a string of up to 256 characters. Caution: 1. Need to be globally unique within the entire AppID (Note that it cannot be the same as the stream ID passed in [startPublishingStream]). If in the same AppID, different users publish each stream and the stream ID is the same, which will cause the user to publish the stream failure. You cannot include URL keywords, otherwise publishing stream and playing stream will fails. 2. Only support numbers, English characters and ‘-’, ‘_’. |
---|
Declared In
ZegoExpressDefines.h
– stopBroadcasting:
The ID of the stream that needs to stop broadcasting.
- (void)stopBroadcasting:(NSString *)streamID
Parameters
streamID |
The ID of the stream that needs to stop broadcasting. |
---|
Declared In
ZegoExpressDefines.h
– sendRealTimeSequentialData:streamID:callback:
The real-time sequential data to be sent.
- (void)sendRealTimeSequentialData:(NSData *)data streamID:(NSString *)streamID callback:(nullable ZegoRealTimeSequentialDataSentCallback)callback
Parameters
data |
The real-time sequential data to be sent. |
---|---|
streamID |
The stream ID to which the real-time sequential data is sent. |
callback |
Send real-time sequential data result callback. |
Declared In
ZegoExpressDefines.h
– startSubscribing:
Stream ID, a string of up to 256 characters. Caution: Only support numbers, English characters and ‘-’, ‘_’.
- (void)startSubscribing:(NSString *)streamID
Parameters
streamID |
Stream ID, a string of up to 256 characters. Caution: Only support numbers, English characters and ‘-’, ‘_’. |
---|
Declared In
ZegoExpressDefines.h
– stopSubscribing:
The ID of the stream that needs to stop subscribing.
- (void)stopSubscribing:(NSString *)streamID
Parameters
streamID |
The ID of the stream that needs to stop subscribing. |
---|
Declared In
ZegoExpressDefines.h
– getIndex
Index of the real-time sequential data manager.
- (NSNumber *)getIndex
Return Value
Index of the real-time sequential data manager.
Declared In
ZegoExpressDefines.h
+ new
Please use the [createRealTimeSequentialDataManager] function in ZegoExpressEngine class instead.
+ (instancetype)new
Declared In
ZegoExpressDefines.h
– init
Please use the [createRealTimeSequentialDataManager] function in ZegoExpressEngine class instead.
- (instancetype)init
Declared In
ZegoExpressDefines.h