logo
On this page

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.java

Parameters

NameTypeDescription
managerZegoRealTimeSequentialDataManagerThe real-time sequential data manager instance that triggers this callback.
databyte[]The received real-time sequential data.
streamIDStringSubscribed 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.

Previous

izegorangesceneteameventhandler

Next

zegoaccurateseekconfig

On this page

Back to top