onVideoSubscribeStateChanged property
void Function(String channel, int uid, StreamSubscribeState oldState, StreamSubscribeState newState, int elapseSinceLastState)?
onVideoSubscribeStateChanged
final
Occurs when the video subscribing state changes.
channel
The channel name.uid
The ID of the remote user.oldState
The previous subscribing status, see StreamSubscribeState for details.newState
The current subscribing status, see StreamSubscribeState for details.elapseSinceLastState
The time elapsed (ms) from the previous state to the current state.
Implementation
final void Function(
String channel,
int uid,
StreamSubscribeState oldState,
StreamSubscribeState newState,
int elapseSinceLastState)? onVideoSubscribeStateChanged;