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 <ValueT> getCaptureRequestOption(key: CaptureRequest.Key<ValueT!>): ValueT?

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

Parameters
<ValueT>

The type of the value.

key: CaptureRequest.Key<ValueT!>

The key to retrieve.

Returns
ValueT?

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