CameraExtensionCharacteristics.GetAvailableCaptureResultKeys(Int32) 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.
Returns the set of keys supported by a CaptureResult
passed as an argument to
CameraExtensionSession.ExtensionCaptureCallback#onCaptureResultAvailable
.
[Android.Runtime.Register("getAvailableCaptureResultKeys", "(I)Ljava/util/Set;", "", ApiSince=33)]
public System.Collections.Generic.ICollection<Android.Hardware.Camera2.CaptureResult.Key> GetAvailableCaptureResultKeys (int extension);
[<Android.Runtime.Register("getAvailableCaptureResultKeys", "(I)Ljava/util/Set;", "", ApiSince=33)>]
member this.GetAvailableCaptureResultKeys : int -> System.Collections.Generic.ICollection<Android.Hardware.Camera2.CaptureResult.Key>
Parameters
- extension
- Int32
the extension type
Returns
non-modifiable set of capture result keys supported by camera extension session initialized with the given extension type.
- Attributes
Remarks
Returns the set of keys supported by a CaptureResult
passed as an argument to CameraExtensionSession.ExtensionCaptureCallback#onCaptureResultAvailable
.
The set returned is not modifiable, so any attempts to modify it will throw a UnsupportedOperationException
.
In case the set is empty, then the extension is not able to support any capture results and the CameraExtensionSession.ExtensionCaptureCallback#onCaptureResultAvailable
callback will not be fired.
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.