getPlaylistCount method

Future<int> getPlaylistCount()

Gets org.mpris.MediaPlayer2.Playlists.PlaylistCount

Implementation

Future<int> getPlaylistCount() async {
  var value = await getProperty(
      'org.mpris.MediaPlayer2.Playlists', 'PlaylistCount',
      signature: DBusSignature('u'));
  return value.asUint32();
}