ZegoRealTimeSequentialDataEventHandler
ZegoRealTimeSequentialDataEventHandler
Declared in ZegoExpressEventHandler.h
Methods
manager:receiveRealTimeSequentialData:streamID
manager:receiveRealTimeSequentialData:streamID
- (void)manager:(ZegoRealTimeSequentialDataManager *)manager receiveRealTimeSequentialData:(NSData *)data streamID:(NSString *)streamID;Callback for receiving real-time sequential data.
Declared in
ZegoExpressEventHandler.hParameters
| Name | Type | Description |
|---|---|---|
| manager | ZegoRealTimeSequentialDataManager * | The real-time sequential data manager instance that triggers this callback. |
| data | NSData * | The received real-time sequential data. |
| streamID | NSString * | Subscribed stream ID |
Details
Through this callback, you can receive real-time sequential data from the current subscribing stream.
- Use cases: You need to listen to this callback when you need to receive real-time sequential data. When to trigger: After calling [startSubscribing] to successfully start the subscription, and when data is sent on the stream, this callback will be triggered.
- Caution: None.
- Available since: 2.14.0
- Restrictions: None.
