CaptureRequestOptions


@ExperimentalCamera2Interop
class CaptureRequestOptions

A bundle of Camera2 capture request options.

Summary

Nested types

Builder for creating CaptureRequestOptions instance.

Public functions

ValueT?

Returns a value for the given CaptureRequest.Key or null if it hasn't been set.

Public functions

getCaptureRequestOption

Added in 1.0.0
fun  getCaptureRequestOption(key: CaptureRequest.Key): ValueT?

Returns a value for the given CaptureRequest.Key or null if it hasn't been set.

Parameters

The type of the value.

key: CaptureRequest.Key

The key to retrieve.

Returns
ValueT?

The stored value or null if the value does not exist in this configuration.