Språk

CaptureResult.ExtensionCurrentType Property

Definition

Contains the extension type of the currently active extension

[Android.Runtime.Register("EXTENSION_CURRENT_TYPE", ApiSince=34)]
public static Android.Hardware.Camera2.CaptureResult.Key ExtensionCurrentType { get; }
[<Android.Runtime.Register("EXTENSION_CURRENT_TYPE", ApiSince=34)>]
static member ExtensionCurrentType : Android.Hardware.Camera2.CaptureResult.Key

Property Value

Contains the extension type of the currently active extension

Attributes

Remarks

Contains the extension type of the currently active extension

The capture result will only be supported and included by camera extension sessions. In case the extension session was configured to use AUTO, then the extension type value will indicate the currently active extension like HDR, NIGHT etc., and will never return AUTO. In case the extension session was configured to use an extension different from AUTO, then the result type will always match with the configured extension type.

Range of valid values: Extension type value listed in CameraExtensionCharacteristics

Optional - The value for this key may be null on some devices.

Android reference for android.hardware.camera2.CaptureResult.EXTENSION_CURRENT_TYPE.

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