Package org.robolectric.shadows
Class ShadowCaptureResult
- java.lang.Object
- 
- org.robolectric.shadows.ShadowCaptureResult
 
- 
- Direct Known Subclasses:
- ShadowTotalCaptureResult
 
 @Implements(value=android.hardware.camera2.CaptureResult.class, minSdk=21) public class ShadowCaptureResult extends Object Shadow ofCaptureResult.
- 
- 
Constructor SummaryConstructors Constructor Description ShadowCaptureResult()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> Tget(CaptureResult.Key<T> key)Obtain a property of the CaptureResult.static CaptureResultnewCaptureResult()Convenience method which returns a new instance ofCaptureResult.<T> voidset(CaptureResult.Key<T> key, T value)Sets the value for a given key.
 
- 
- 
- 
Method Detail- 
newCaptureResultpublic static CaptureResult newCaptureResult() Convenience method which returns a new instance ofCaptureResult.
 - 
get@Implementation protected <T> T get(CaptureResult.Key<T> key) Obtain a property of the CaptureResult.
 - 
setpublic <T> void set(CaptureResult.Key<T> key, T value) Sets the value for a given key.- Throws:
- IllegalArgumentException- if there's an existing value for the key.
 
 
- 
 
-