De-Enrollment
During the de-enrollment, the user's face is processed and, if the user is who he claims to be, his/her account will be removed from the Keyless network.
This operation is irreversible, therefore we suggest to display a pop-up to confirm the operation before proceeding with the de-enrollment.
Android
iOS
1
val configuration = DeEnrollmentConfiguration.builder.build()
2
3
Keyless.deEnroll(
4
deEnrollmentConfiguration = configuration,
5
onCompletion = { result ->
6
when (result) {
7
is Keyless.KeylessResult.Success -> Log.d("KeylessSDK ", "De-enroll success")
8
is Keyless.KeylessResult.Failure -> Log.d("KeylessSDK ", "De-enroll failure - error code ${result.error.code}")
9
}
10
}
11
)
Copied!
1
let configuration = Keyless.DeEnrollmentConfiguration.builder
2
.build()
3
4
Keyless.deEnroll(
5
deEnrollmentConfiguration: configuration,
6
onCompletion: { error in
7
if let error = error {
8
print("De-Enrollment finished with error: \(error.message)")
9
} else {
10
print("De-Enrollment finished with success")
11
}
12
}
13
}
Copied!

Liveness Settings

Using withLivenessSettings you can specify the liveness security level with LivenessConfiguration and a timeout to perform the liveness.
Export as PDF
Copy link
Contents