CaptureRequestOptions


@ExperimentalCamera2Interop
public class CaptureRequestOptions

A bundle of Camera2 capture request options.

Summary

Nested types

public final class CaptureRequestOptions.Builder implements ExtendableBuilder

Builder for creating CaptureRequestOptions instance.

Public methods

@Nullable ValueT

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

Public methods

getCaptureRequestOption

Added in 1.0.0
public @Nullable ValueT  getCaptureRequestOption(@NonNull CaptureRequest.Key key)

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

Parameters

The type of the value.

@NonNull CaptureRequest.Key key

The key to retrieve.

Returns
@Nullable ValueT

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