playbackState property

String get playbackState

Implementation

String get playbackState => _playbackState;
set playbackState (String state)

Implementation

set playbackState(String state) {
  if (state == _playbackState) return;

  emitPropertiesChanged(
    "org.mpris.MediaPlayer2.Player",
    changedProperties: {"PlaybackStatus": DBusString(state)},
  );
  _playbackState = state;
}