getPlaybackStatus method

Future<String> getPlaybackStatus()

Gets org.mpris.MediaPlayer2.Player.PlaybackStatus

Implementation

Future<String> getPlaybackStatus() async {
  var value = await getProperty(
      'org.mpris.MediaPlayer2.Player', 'PlaybackStatus',
      signature: DBusSignature('s'));
  return value.asString();
}