rtcRoom$onAudioSubscribeStateChanged$info$state$reason method

FutureOr<void> rtcRoom$onAudioSubscribeStateChanged$info$state$reason(
  1. ByteRTCRoom rtcRoom,
  2. NSString streamId,
  3. ByteRTCStreamInfo info,
  4. ByteRTCSubscribeState state,
  5. ByteRTCSubscribeStateChangeReason reason,
)

@detail callback brief Callback on the subscribing state change of the audio stream. @param rtcRoom The ByteRTCRoom instance. @param streamId Stream ID. @param info Stream information. @param state Room state code. See ByteRTCSubscribeState{@link #ByteRTCSubscribeState} for more. @param reason See ByteRTCSubscribeStateChangeReason{@link #ByteRTCSubscribeStateChangeReason} for more.

Implementation

FutureOr<void> rtcRoom$onAudioSubscribeStateChanged$info$state$reason(
    ByteRTCRoom rtcRoom,
    NSString streamId,
    ByteRTCStreamInfo info,
    ByteRTCSubscribeState state,
    ByteRTCSubscribeStateChangeReason reason) async {}