Schnittstelle AppLaunchContext.OnLaunchFailed

Umschließende Klasse:
AppLaunchContext
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface AppLaunchContext.OnLaunchFailed
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onLaunchFailed(Str startup_notify_id)
    The [signal@Gio.AppLaunchContext::launch-failed] signal is emitted when a
    [iface@Gio.AppInfo] launch fails.
  • Methodendetails

    • onLaunchFailed

      void onLaunchFailed(@Nonnull Str startup_notify_id)
      The [signal@Gio.AppLaunchContext::launch-failed] signal is emitted when a
      [iface@Gio.AppInfo] launch fails. The startup notification id is provided,
      so that the launcher can cancel the startup notification.

      Because a launch operation may involve spawning multiple instances of the
      target application, you should expect this signal to be emitted multiple
      times, one for each spawned instance.
      Parameter:
      startup_notify_id - the startup notification id for the failed launch