callSetPosition method

Future<void> callSetPosition(
  1. String TrackId,
  2. int Position, {
  3. bool noAutoStart = false,
  4. bool allowInteractiveAuthorization = false,
})

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

Implementation

Future<void> callSetPosition(String TrackId, int Position,
    {bool noAutoStart = false,
    bool allowInteractiveAuthorization = false}) async {
  await callMethod('org.mpris.MediaPlayer2.Player', 'SetPosition',
      [DBusObjectPath(TrackId), DBusInt64(Position)],
      replySignature: DBusSignature(''),
      noAutoStart: noAutoStart,
      allowInteractiveAuthorization: allowInteractiveAuthorization);
}