ShadowTotalCaptureResult@Implements(value=android.hardware.camera2.CaptureResult.class, minSdk=21) public class ShadowCaptureResult extends Object
CaptureResult.| Constructor | Description |
|---|---|
ShadowCaptureResult() |
| Modifier and Type | Method | Description |
|---|---|---|
protected <T> T |
get(CaptureResult.Key<T> key) |
Obtain a property of the CaptureResult.
|
static CaptureResult |
newCaptureResult() |
Convenience method which returns a new instance of
CaptureResult. |
<T> void |
set(CaptureResult.Key<T> key,
T value) |
Sets the value for a given key.
|
public static CaptureResult newCaptureResult()
CaptureResult.@Implementation protected <T> T get(CaptureResult.Key<T> key)
public <T> void set(CaptureResult.Key<T> key, T value)
IllegalArgumentException - if there's an existing value for the key.