getPlaybackStateStream method

Stream<PlaybackState> getPlaybackStateStream()

Returns a stream of playback state updates.

This stream emits PlaybackState objects containing information about the current playback state, including state (playing, paused, stopped), title, position, and duration.

Implementation

Stream<PlaybackState> getPlaybackStateStream() {
  return _playbackStateSubject.stream;
}