Schnittstelle Allocator.OnMemoryMapFullFunction

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

@FunctionalInterface public static interface Allocator.OnMemoryMapFullFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    onMemoryMapFullFunction(CallbackHandler __self, Memory mem, MapInfo info, long maxsize)
    Get the memory of @mem that can be accessed according to the mode specified
    in @info's flags.
  • Methodendetails

    • onMemoryMapFullFunction

      Pointer onMemoryMapFullFunction(CallbackHandler __self, @Nonnull Memory mem, @Nonnull MapInfo info, long maxsize)
      Get the memory of @mem that can be accessed according to the mode specified
      in @info's flags. The function should return a pointer that contains at least
      @maxsize bytes.
      Parameter:
      mem - a #GstMemory
      info - the #GstMapInfo to map with
      maxsize - size to map
      Gibt zurück:
      a pointer to memory of which at least @maxsize bytes can be accessed according to the access pattern in @info's flags.