CaptureRequestOptions
public
class
CaptureRequestOptions
extends Object
| java.lang.Object | |
| ↳ | androidx.camera.camera2.interop.CaptureRequestOptions |
A bundle of Camera2 capture request options.
Summary
Nested classes | |
|---|---|
class |
CaptureRequestOptions.Builder
Builder for creating |
Public constructors | |
|---|---|
CaptureRequestOptions(Config config)
Creates a CaptureRequestOptions for reading Camera2 capture request options from the given config. |
|
Public methods | |
|---|---|
<ValueT>
ValueT
|
getCaptureRequestOption(Key<ValueT> key)
Returns a value for the given |
Inherited methods | |
|---|---|
Public constructors
CaptureRequestOptions
public CaptureRequestOptions (Config config)
Creates a CaptureRequestOptions for reading Camera2 capture request options from the given config.
| Parameters | |
|---|---|
config |
Config: The config that potentially contains Camera2 capture request options.
|
Public methods
getCaptureRequestOption
public ValueT getCaptureRequestOption (Key<ValueT> key)
Returns a value for the given CaptureRequest.Key or null if it hasn't been set.
| Parameters | |
|---|---|
key |
Key: The key to retrieve. |
| Returns | |
|---|---|
ValueT |
The stored value or null if the value does not exist in this configuration. |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-12-16 UTC.