Schnittstelle MiniObject.OnMiniObjectDisposeFunction

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

@FunctionalInterface public static interface MiniObject.OnMiniObjectDisposeFunction
  • Methodendetails

    • onMiniObjectDisposeFunction

      boolean onMiniObjectDisposeFunction(CallbackHandler __self, @Nonnull MiniObject obj)
      Function prototype for when a miniobject has lost its last refcount.
      Implementation of the mini object are allowed to revive the
      passed object by doing a gst_mini_object_ref(). If the object is not
      revived after the dispose function, the function should return %TRUE
      and the memory associated with the object is freed.
      Parameter:
      obj - MiniObject to dispose
      Gibt zurück:
      %TRUE if the object should be cleaned up.