Interface BufferAllocator


@Deprecated public interface BufferAllocator
Deprecated.
The com.banuba.sdk.offscreen package is deprecated. Use PlayerAPI instead.
Buffer Allocator interface that can be used for memory reusing without new allocation.
  • Method Summary

    Modifier and Type
    Method
    Description
    allocateBuffer(int minimumCapacity)
    Deprecated.
    New buffer allocate.
  • Method Details

    • allocateBuffer

      @NonNull ByteBuffer allocateBuffer(int minimumCapacity)
      Deprecated.
      New buffer allocate.
      Parameters:
      minimumCapacity - minimum buffer capacity.
      Returns:
      allocated ByteBuffer.