IZegoRealTimeSequentialDataEventHandler
IZegoRealTimeSequentialDataEventHandler
Declared in callback/IZegoRealTimeSequentialDataEventHandler.java
Methods
onReceiveRealTimeSequentialData
onReceiveRealTimeSequentialData
public void onReceiveRealTimeSequentialData(ZegoRealTimeSequentialDataManager manager, byte[] data, String streamID)Callback for receiving real-time sequential data.
Declared in
callback/IZegoRealTimeSequentialDataEventHandler.javaParameters
| Name | Type | Description |
|---|---|---|
| manager | ZegoRealTimeSequentialDataManager | The real-time sequential data manager instance that triggers this callback. |
| data | byte[] | The received real-time sequential data. |
| streamID | String | 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.
