logo
On this page

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

Parameters

NameTypeDescription
managerZegoRealTimeSequentialDataManager *The real-time sequential data manager instance that triggers this callback.
dataNSData *The received real-time sequential data.
streamIDNSString *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.

Previous

zegorangesceneteameventhandler

Next

zegorealtimesequentialdatamanager

On this page

Back to top