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,
)

@detail callback @author xuyiling.x10 @brief 音频订阅状态发生改变回调。 @param rtcRoom ByteRTCGameRoom 实例。 @param streamId 音频流 ID. @param info 音频流信息,参看 ByteRTCStreamInfo{@link #ByteRTCStreamInfo}。 @param state 订阅状态码,参看 ByteRTCSubscribeState{@link #ByteRTCSubscribeState}。 @param reason 音频订阅状态改变的具体原因,参看 ByteRTCSubscribeStateChangeReason{@link #ByteRTCSubscribeStateChangeReason}。 @order 0

Implementation

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