Schnittstelle AllocatorClass.OnAlloc

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

@FunctionalInterface public static interface AllocatorClass.OnAlloc
  • Methodendetails

    • onAlloc

      Memory onAlloc(CallbackHandler __self, @Nullable Allocator allocator, long size, @Nullable AllocationParams params)
      Parameter:
      allocator - a #GstAllocator to use
      size - size of the visible memory area
      params - optional parameters
      Gibt zurück:
      a new #GstMemory.