Added in API level 19
Deprecated in API level 31

OnBufferAvailableListener


interface OnBufferAvailableListener
android.renderscript.Allocation.OnBufferAvailableListener

Interface to handle notification when new buffers are available via 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 Unit

Public methods

onBufferAvailable

Added in API level 19
abstract fun onBufferAvailable(a: Allocation!): Unit

Deprecated: Deprecated in Java.