Share via


CaptureRequest.Tag Property

Definition

Retrieve the tag for this request, if any.

public Java.Lang.Object? Tag { [Android.Runtime.Register("getTag", "()Ljava/lang/Object;", "")] get; }
[<get: Android.Runtime.Register("getTag", "()Ljava/lang/Object;", "")>]
member this.Tag : Java.Lang.Object

Property Value

the last tag Object set on this request, or null if no tag has been set.

Attributes

Remarks

Retrieve the tag for this request, if any.

This tag is not used for anything by the camera device, but can be used by an application to easily identify a CaptureRequest when it is returned by CameraCaptureSession.CaptureCallback#onCaptureCompleted CaptureCallback.onCaptureCompleted

Java documentation for android.hardware.camera2.CaptureRequest.getTag().

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