目录

FaceRecognitionCapability

Class Info

public class FaceRecognitionCapability

Facial recognition ability class, which is used for returning facial recognition abilities.

Public Field Summary

Qualifier and Type

Field and Description

boolean

isEnrolled

Indicates whether the face data has been enrolled on the current device.

boolean

isSupport

Indicates whether facial recognition is supported on the current device.

boolean

is3D

Indicates whether the facial recognition mode of the current device is 3D.

Public Fields

[h2]isEnrolled

Fields

public boolean isEnrolled

Indicates whether a face has been enrolled. The value true indicates that a face has been enrolled, and the value false indicates that no face has been enrolled.

[h2]isSupport

Fields

public boolean isSupport

Indicates whether the device supports facial recognition. The value true will be returned if the device supports facial recognition, and false otherwise.

[h2]is3D

Fields

public boolean is3D

Indicates whether the facial recognition mode of the current device is 3D. The value true indicates that the facial recognition mode is 3D, and the value false indicates that the facial recognition mode is 2D.