Android.Renderscripts.Allocation.SetOnBufferAvailableListener Method
Set a notification handler for Allocation.USAGE_IO_INPUT.

Syntax

[Android.Runtime.Register("setOnBufferAvailableListener", "(Landroid/renderscript/Allocation$OnBufferAvailableListener;)V", "GetSetOnBufferAvailableListener_Landroid_renderscript_Allocation_OnBufferAvailableListener_Handler")]
public virtual void SetOnBufferAvailableListener (Allocation.IOnBufferAvailableListener callback)

Parameters

callback
instance of the OnBufferAvailableListener class to be called when buffer arrive.

Remarks

Set a notification handler for Allocation.USAGE_IO_INPUT.

[Android Documentation]

Requirements

Namespace: Android.Renderscripts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11