次の方法で共有


MultiResolutionImageReader.SetOnImageAvailableListener Method

Definition

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

listener
ImageReader.IOnImageAvailableListener

The listener that will be run.

executor
IExecutor

The executor which will be used when invoking the callback.

Attributes

Remarks

Java documentation for android.hardware.camera2.MultiResolutionImageReader.setOnImageAvailableListener(android.media.OnImageAvailableListener, java.util.concurrent.Executor).

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