Sprache

CameraExtensionCharacteristics.Get Method

Definition

Gets an extension specific camera characteristics field value.

[Android.Runtime.Register("get", "(ILandroid/hardware/camera2/CameraCharacteristics$Key;)Ljava/lang/Object;", "", ApiSince=35)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public Java.Lang.Object? Get(Android.Hardware.Camera2.CameraExtensionTypes extension, Android.Hardware.Camera2.CameraCharacteristics.Key key);
[<Android.Runtime.Register("get", "(ILandroid/hardware/camera2/CameraCharacteristics$Key;)Ljava/lang/Object;", "", ApiSince=35)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.Get : Android.Hardware.Camera2.CameraExtensionTypes * Android.Hardware.Camera2.CameraCharacteristics.Key -> Java.Lang.Object

Parameters

extension
CameraExtensionTypes

The extension type. Value is either 0 or a combination of the following: EXTENSION_AUTOMATIC; EXTENSION_FACE_RETOUCH; EXTENSION_BOKEH; EXTENSION_HDR; EXTENSION_NIGHT

key
CameraCharacteristics.Key

The characteristics field to read. This value cannot be null.

Returns

The value of that key, or null if the field is not set.

Attributes

Remarks

Gets an extension specific camera characteristics field value.

Android reference for android.hardware.camera2.CameraExtensionCharacteristics.get.

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