onVideoSubscribeStateChanged property
void Function(String channel, int uid, StreamSubscribeState oldState, StreamSubscribeState newState, int elapseSinceLastState)?
onVideoSubscribeStateChanged
final
Occurs when the video subscribing state changes.
channelThe channel name.uidThe user ID of the remote user.oldStateThe previous subscribing status. See StreamSubscribeState.newStateThe current subscribing status. See StreamSubscribeState.elapseSinceLastStateThe 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;