stateNotifier property

ValueNotifier<ZegoPlayerState> stateNotifier
getter/setter pair

Current player state for the stream.

This tracks whether the stream is currently playing, stopped, or in an error state.

Implementation

ValueNotifier<ZegoPlayerState> stateNotifier = ValueNotifier(
  ZegoPlayerState.NoPlay,
);