Added in API level 19
Deprecated in API level 31

Allocation.OnBufferAvailableListener


public static interface Allocation.OnBufferAvailableListener

android.renderscript.Allocation.OnBufferAvailableListener


Interface to handle notification when new buffers are available via Allocation.USAGE_IO_INPUT. An application will receive one notification when a buffer is available. Additional buffers will not trigger new notifications until a buffer is processed.

Summary

Public methods

abstract void onBufferAvailable(Allocation a)

Public methods

onBufferAvailable

Added in API level 19
public abstract void onBufferAvailable (Allocation a)

Parameters
a Allocation