IDnowDocIDVResult
Holds the result of an identification session. Returned via ResultListener after a start call.
data class IDnowDocIDVResult(
val resultType: ResultType,
val statusCode: String,
val message: String? = null
)
Properties
| Property | Type | Default | Description |
|---|---|---|---|
| resultType | ResultType | — | The result type of the session |
| statusCode | String | — | The status code of the session |
| message | String? | null | An optional human-readable message |
ResultType
enum class ResultType {
FINISHED,
ERROR,
CANCELLED
}
| Case | Description |
|---|---|
| FINISHED | The session completed successfully |
| ERROR | The session ended with an error |
| CANCELLED | The session was cancelled by the user |
Status Codes
| Code | Description |
|---|---|
| E100 | Token format incorrect |
| E101 | Token not found |
| E102 | Token expired or deleted |
| E103 | Token already completed |
| E130 | Resources response not parsable or empty |
| E131 | Resources server error |
| E150 | Start ident response not parsable or empty |
| E151 | Start ident server error |
| E152 | Start ident missing session key |
| E160 | WebView ident failed, technical error |
| E170 | Backend forced websocket close |
| E171 | Backend command PROCESS_FAILED via websocket |
| E180 | No application context |