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 user ID of the remote user.oldState
The previous subscribing status. See StreamSubscribeState.newState
The current subscribing status. See StreamSubscribeState.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;