Partager via


CameraExtensionCharacteristics.GetAvailableCaptureRequestKeys(Int32) Method

Definition

Returns the set of keys supported by a CaptureRequest submitted in a CameraExtensionSession with a given extension type.

[Android.Runtime.Register("getAvailableCaptureRequestKeys", "(I)Ljava/util/Set;", "", ApiSince=33)]
public System.Collections.Generic.ICollection<Android.Hardware.Camera2.CaptureRequest.Key> GetAvailableCaptureRequestKeys (int extension);
[<Android.Runtime.Register("getAvailableCaptureRequestKeys", "(I)Ljava/util/Set;", "", ApiSince=33)>]
member this.GetAvailableCaptureRequestKeys : int -> System.Collections.Generic.ICollection<Android.Hardware.Camera2.CaptureRequest.Key>

Parameters

extension
Int32

the extension type

Returns

non-modifiable set of capture keys supported by camera extension session initialized with the given extension type.

Attributes

Remarks

Returns the set of keys supported by a CaptureRequest submitted in a CameraExtensionSession with a given extension type.

The set returned is not modifiable, so any attempts to modify it will throw a UnsupportedOperationException.

Devices launching on Android android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM or newer versions are required to support CaptureRequest#CONTROL_AF_MODE, CaptureRequest#CONTROL_AF_REGIONS, CaptureRequest#CONTROL_AF_TRIGGER, CaptureRequest#CONTROL_ZOOM_RATIO for CameraExtensionCharacteristics#EXTENSION_NIGHT.

Java documentation for android.hardware.camera2.CameraExtensionCharacteristics.getAvailableCaptureRequestKeys(int).

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