Handling Failures
The Failure Model
public sealed interface LivenessLiteEvent {
/**
* Liveness failure event with specific failure type.
*
* @param response The signed response from the server
* @param type The specific type of failure that occurred
* @param description User-friendly description of the failure
*/
public data class Failure(
val response: String,
val type: CafFailureType,
val description: String
) : LivenessLiteEvent
}Using the type Parameter
Type
Description
Example Implementation
Face Liveness LiteHandling FailuresUi CustomizationChangelog
Last updated

