callOpenUri method

Future<void> callOpenUri(
  1. String Uri, {
  2. bool noAutoStart = false,
  3. bool allowInteractiveAuthorization = false,
})

Invokes org.mpris.MediaPlayer2.Player.OpenUri()

Implementation

Future<void> callOpenUri(String Uri,
    {bool noAutoStart = false,
    bool allowInteractiveAuthorization = false}) async {
  await callMethod(
      'org.mpris.MediaPlayer2.Player', 'OpenUri', [DBusString(Uri)],
      replySignature: DBusSignature(''),
      noAutoStart: noAutoStart,
      allowInteractiveAuthorization: allowInteractiveAuthorization);
}