ImageWriter.SetOnImageReleasedListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.