Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8bdb486 authored by Ilya Matyukhin's avatar Ilya Matyukhin Committed by Automerger Merge Worker
Browse files

IFace: Add more comments am: ba831331

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15146596

Change-Id: I9627f16e7b9cc97ef86c466af6809b158e825db5
parents 8b8dd10b ba831331
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -19,6 +19,15 @@ package android.hardware.biometrics.face;
@VintfStability
@Backing(type="byte")
enum EnrollmentType {
    /**
     * Default enrollment type.
     */
    DEFAULT,

    /**
     * Enrollment type for people with limited vision or mobility. For example,
     * enrollment of this type will not ask the user to move their head or
     * look directly at the device.
     */
    ACCESSIBILITY,
}
+20 −1
Original line number Diff line number Diff line
@@ -16,4 +16,23 @@

package android.hardware.biometrics.face;

@VintfStability @Backing(type="byte") enum FaceSensorType { UNKNOWN, RGB, IR }
@VintfStability
@Backing(type="byte")
enum FaceSensorType {
    /**
     * Placeholder value used for default initialization of FaceSensorType.
     * This value means FaceSensorType wasn't explicitly initialized and must
     * be discarded by the recipient.
     */
    UNKNOWN,

    /**
     * The face sensor is an RGB camera.
     */
    RGB,

    /**
     * The face sensor is an infrared camera.
     */
    IR,
}