rtsRoom$onUserLeave$reason method
FutureOr<void>
rtsRoom$onUserLeave$reason(
- ByteRTCRTSRoom rtsRoom,
- NSString uid,
- ByteRTCUserOfflineReason reason
@detail callback
@brief This callback is triggered when a remote user is disconnected or turns invisible.
@param rtsRoom ByteRTCRTSRoom object.
@param uid ID of the user who leaves the room, or switches to invisible.
@param reason Reason to leave the room. See ByteRTCUserOfflineReason{@link #ByteRTCUserOfflineReason}.
Implementation
FutureOr<void> rtsRoom$onUserLeave$reason(ByteRTCRTSRoom rtsRoom,
NSString uid, ByteRTCUserOfflineReason reason) async {}