rtcRoom$onAudioSubscribeStateChanged$info$state$reason method

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

@brief Audio subscribe state change callback. @param rtcRoom The ByteRTCGameRoom instance. @param streamId Audio stream ID. @param info Audio stream information. See ByteRTCStreamInfo{@link #ByteRTCStreamInfo}. @param state Subscribe state. See ByteRTCSubscribeState{@link #ByteRTCSubscribeState}. @param reason Subscribe state change reason. See ByteRTCSubscribeStateChangeReason{@link #ByteRTCSubscribeStateChangeReason}. @order 0

Implementation

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