Class ShadowCaptureResult

  • Direct Known Subclasses:
    ShadowTotalCaptureResult

    @Implements(value=android.hardware.camera2.CaptureResult.class,
                minSdk=21)
    public class ShadowCaptureResult
    extends java.lang.Object
    Shadow of CaptureResult.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <T> T get​(android.hardware.camera2.CaptureResult.Key<T> key)
      Obtain a property of the CaptureResult.
      static android.hardware.camera2.CaptureResult newCaptureResult()
      Convenience method which returns a new instance of CaptureResult.
      <T> void set​(android.hardware.camera2.CaptureResult.Key<T> key, T value)
      Sets the value for a given key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowCaptureResult

        public ShadowCaptureResult()
    • Method Detail

      • newCaptureResult

        public static android.hardware.camera2.CaptureResult newCaptureResult()
        Convenience method which returns a new instance of CaptureResult.
      • get

        @Implementation
        protected <T> T get​(android.hardware.camera2.CaptureResult.Key<T> key)
        Obtain a property of the CaptureResult.
      • set

        public <T> void set​(android.hardware.camera2.CaptureResult.Key<T> key,
                            T value)
        Sets the value for a given key.
        Throws:
        java.lang.IllegalArgumentException - if there's an existing value for the key.