How to implement an acess class for FaceManager service like FingerprintManagerCompat in fingerprint?
direct acess give this error:
error: package android.hardware.face does not exist
import android.hardware.face.FaceManager;
^
As the error says FaceManager is not available, to use biometric authentication (face and fingerprint) you should integrate BiometricManager which replaced the now deprecated FingerprintManagerCompat.
EDIT
As quoted here what you want to achieve doesn't seem possible