getCanPlay method

Future<bool> getCanPlay()

Gets org.mpris.MediaPlayer2.Player.CanPlay

Implementation

Future<bool> getCanPlay() async {
  var value = await getProperty('org.mpris.MediaPlayer2.Player', 'CanPlay',
      signature: DBusSignature('b'));
  return value.asBoolean();
}