Package ch.bailu.gtk.gst
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.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungonAlloc
(CallbackHandler __self, Allocator allocator, long size, AllocationParams params)
-
Methodendetails
-
onAlloc
Memory onAlloc(CallbackHandler __self, @Nullable Allocator allocator, long size, @Nullable AllocationParams params) - Parameter:
allocator
- a #GstAllocator to usesize
- size of the visible memory areaparams
- optional parameters- Gibt zurück:
- a new #GstMemory.
-