Schnittstelle Pad.OnPadActivateFunction

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

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    This function is called when the pad is activated during the element
    READY to PAUSED state change.
  • Methodendetails

    • onPadActivateFunction

      boolean onPadActivateFunction(CallbackHandler __self, @Nonnull Pad pad, @Nonnull Object parent)
      This function is called when the pad is activated during the element
      READY to PAUSED state change. By default this function will call the
      activate function that puts the pad in push mode but elements can
      override this function to activate the pad in pull mode if they wish.
      Parameter:
      pad - a #GstPad
      parent - the parent of @pad
      Gibt zurück:
      %TRUE if the pad could be activated.