Compartir a través de


ImageWriter.SetOnImageReleasedListener Method

Definition

Register a listener to be invoked when an input Image is returned to the ImageWriter.

[Android.Runtime.Register("setOnImageReleasedListener", "(Landroid/media/ImageWriter$OnImageReleasedListener;Landroid/os/Handler;)V", "GetSetOnImageReleasedListener_Landroid_media_ImageWriter_OnImageReleasedListener_Landroid_os_Handler_Handler", ApiSince=23)]
public virtual void SetOnImageReleasedListener (Android.Media.ImageWriter.IOnImageReleasedListener? listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("setOnImageReleasedListener", "(Landroid/media/ImageWriter$OnImageReleasedListener;Landroid/os/Handler;)V", "GetSetOnImageReleasedListener_Landroid_media_ImageWriter_OnImageReleasedListener_Landroid_os_Handler_Handler", ApiSince=23)>]
abstract member SetOnImageReleasedListener : Android.Media.ImageWriter.IOnImageReleasedListener * Android.OS.Handler -> unit
override this.SetOnImageReleasedListener : Android.Media.ImageWriter.IOnImageReleasedListener * Android.OS.Handler -> unit

Parameters

listener
ImageWriter.IOnImageReleasedListener

The listener that will be run.

handler
Handler

The handler on which the listener should be invoked, or null if the listener should be invoked on the calling thread's looper.

Attributes

Remarks

Java documentation for android.media.ImageWriter.setOnImageReleasedListener(android.media.OnImageReleasedListener, android.os.Handler).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to