Schnittstelle DBusAuthObserver.OnAllowMechanism

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

@FunctionalInterface public static interface DBusAuthObserver.OnAllowMechanism
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    onAllowMechanism(Str mechanism)
    Emitted to check if @mechanism is allowed to be used.
  • Methodendetails

    • onAllowMechanism

      boolean onAllowMechanism(@Nonnull Str mechanism)
      Emitted to check if @mechanism is allowed to be used.
      Parameter:
      mechanism - The name of the mechanism, e.g. `DBUS_COOKIE_SHA1`.
      Gibt zurück:
      %TRUE if @mechanism can be used to authenticate the other peer, %FALSE if not.