Schnittstelle Application.OnCommandLine

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

@FunctionalInterface public static interface Application.OnCommandLine
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    The ::command-line signal is emitted on the primary instance when
    a commandline is not handled locally.
  • Methodendetails

    • onCommandLine

      int onCommandLine(@Nonnull ApplicationCommandLine command_line)
      The ::command-line signal is emitted on the primary instance when
      a commandline is not handled locally. See g_application_run() and
      the #GApplicationCommandLine documentation for more information.
      Parameter:
      command_line - a #GApplicationCommandLine representing the passed commandline
      Gibt zurück:
      An integer that is set as the exit status for the calling process. See g_application_command_line_set_exit_status().