Schnittstelle Pad.OnPadLinkFunction

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.OnPadLinkFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    onPadLinkFunction(CallbackHandler __self, Pad pad, Object parent, Pad peer)
    Function signature to handle a new link on the pad.
  • Methodendetails

    • onPadLinkFunction

      int onPadLinkFunction(CallbackHandler __self, @Nonnull Pad pad, @Nullable Object parent, @Nonnull Pad peer)
      Function signature to handle a new link on the pad.
      Parameter:
      pad - the #GstPad that is linked.
      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.
      peer - the peer #GstPad of the link
      Gibt zurück:
      the result of the link with the specified peer.