diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/hardware/camera2/CaptureResult.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java index 160b6fc..543ce21 100644 --- a/core/java/android/hardware/camera2/CaptureResult.java +++ b/core/java/android/hardware/camera2/CaptureResult.java @@ -1440,6 +1440,16 @@ public final class CaptureResult extends CameraMetadata { new Key<Float>("android.sensor.temperature", float.class); /** + * <p>The estimated white balance at the time of capture.</p> + * <p>The estimated white balance encoded as the RGB values of the + * perfectly neutral color point in the linear native sensor color space. + * The order of the values is R, G, B; where R is in the lowest index.</p> + * <p><b>Optional</b> - This value may be {@code null} on some devices.</p> + */ + public static final Key<Rational[]> SENSOR_NEUTRAL_COLOR_POINT = + new Key<Rational[]>("android.sensor.neutralColorPoint", Rational[].class); + + /** * <p>When enabled, the sensor sends a test pattern instead of * doing a real exposure from the camera.</p> * <p>When a test pattern is enabled, all manual sensor controls specified |