Schnittstelle ElementClass.OnSetClock

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

@FunctionalInterface public static interface ElementClass.OnSetClock
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    onSetClock(CallbackHandler __self, Element element, Clock clock)
     
  • Methodendetails

    • onSetClock

      boolean onSetClock(CallbackHandler __self, @Nonnull Element element, @Nullable Clock clock)
      Parameter:
      element - a #GstElement to set the clock for.
      clock - the #GstClock to set for the element.
      Gibt zurück:
      %TRUE if the element accepted the clock. An element can refuse a clock when it, for example, is not able to slave its internal clock to the @clock or when it requires a specific clock to operate. MT safe.