onReceiveRealTimeSequentialData property

(void Function(ZegoRealTimeSequentialDataManager manager, Uint8List data, String streamID)?) onReceiveRealTimeSequentialData
getter/setter pair

Callback for receiving real-time sequential data.

Available since: 2.14.0 Description: 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. Restrictions: None. Caution: None.

  • manager The real-time sequential data manager instance that triggers this callback.
  • data The received real-time sequential data.
  • streamID Subscribed stream ID

Implementation

static void Function(ZegoRealTimeSequentialDataManager manager,
    Uint8List data, String streamID)? onReceiveRealTimeSequentialData;