IFace: Add more comments am: ba83133139

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

Change-Id: I96be99d6fc0540244127df89fe52bd373fd2233a
This commit is contained in:
Ilya Matyukhin 2021-06-29 23:36:24 +00:00 committed by Automerger Merge Worker
commit 1b6ab3f169
2 changed files with 29 additions and 1 deletions

View file

@ -19,6 +19,15 @@ package android.hardware.biometrics.face;
@VintfStability @VintfStability
@Backing(type="byte") @Backing(type="byte")
enum EnrollmentType { enum EnrollmentType {
/**
* Default enrollment type.
*/
DEFAULT, 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, ACCESSIBILITY,
} }

View file

@ -16,4 +16,23 @@
package android.hardware.biometrics.face; 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,
}