Schnittstelle Clock.OnSynced

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

@FunctionalInterface public static interface Clock.OnSynced
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onSynced(boolean synced)
    Signaled on clocks with %GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC set once
    the clock is synchronized, or when it completely lost synchronization.
  • Methodendetails

    • onSynced

      void onSynced(boolean synced)
      Signaled on clocks with %GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC set once
      the clock is synchronized, or when it completely lost synchronization.
      This signal will not be emitted on clocks without the flag.

      This signal will be emitted from an arbitrary thread, most likely not
      the application's main thread.
      Parameter:
      synced - if the clock is synced now