Schnittstelle Pad.OnPadEventFunction

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

@FunctionalInterface public static interface Pad.OnPadEventFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    onPadEventFunction(CallbackHandler __self, Pad pad, Object parent, Event event)
    Function signature to handle an event for the pad.
  • Methodendetails

    • onPadEventFunction

      boolean onPadEventFunction(CallbackHandler __self, @Nonnull Pad pad, @Nullable Object parent, @Nonnull Event event)
      Function signature to handle an event for the pad.
      Parameter:
      pad - the #GstPad to handle the event.
      parent - the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, @parent is guaranteed to be not-%NULL and remain valid during the execution of this function.
      event - the #GstEvent to handle.
      Gibt zurück:
      %TRUE if the pad could handle the event.