MultiResolutionImageReader.SetOnImageAvailableListener 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.
Set onImageAvailableListener callback.
[Android.Runtime.Register("setOnImageAvailableListener", "(Landroid/media/ImageReader$OnImageAvailableListener;Ljava/util/concurrent/Executor;)V", "GetSetOnImageAvailableListener_Landroid_media_ImageReader_OnImageAvailableListener_Ljava_util_concurrent_Executor_Handler", ApiSince=31)]
public virtual void SetOnImageAvailableListener (Android.Media.ImageReader.IOnImageAvailableListener? listener, Java.Util.Concurrent.IExecutor? executor);
[<Android.Runtime.Register("setOnImageAvailableListener", "(Landroid/media/ImageReader$OnImageAvailableListener;Ljava/util/concurrent/Executor;)V", "GetSetOnImageAvailableListener_Landroid_media_ImageReader_OnImageAvailableListener_Ljava_util_concurrent_Executor_Handler", ApiSince=31)>]
abstract member SetOnImageAvailableListener : Android.Media.ImageReader.IOnImageAvailableListener * Java.Util.Concurrent.IExecutor -> unit
override this.SetOnImageAvailableListener : Android.Media.ImageReader.IOnImageAvailableListener * Java.Util.Concurrent.IExecutor -> unit
Parameters
The listener that will be run.
- executor
- IExecutor
The executor which will be used when invoking the callback.
- 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.