CameraExtensionCharacteristics.Get 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.
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
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.
An extension can have a reduced set of camera capabilities (such as limited zoom ratio range, available video stabilization modes, etc). This API enables applications to query for an extension’s specific camera characteristics. Applications are recommended to prioritize obtaining camera characteristics using this API when using an extension. A null result indicates that the extension specific characteristic is not defined or available.
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.