Schnittstelle Pad.OnPadEventFullFunction

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.OnPadEventFullFunction
  • Methodendetails

    • onPadEventFullFunction

      int onPadEventFullFunction(CallbackHandler __self, @Nonnull Pad pad, @Nullable Object parent, @Nonnull Event event)
      Function signature to handle an event for the pad.

      This variant is for specific elements that will take into account the
      last downstream flow return (from a pad push), in which case they can
      return it.
      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:
      %GST_FLOW_OK if the event was handled properly, or any other #GstFlowReturn dependent on downstream state.