Udostępnij za pośrednictwem


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.

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