Skip to main content
Every view calls onResult exactly once, with a Result<…, DeepIDVError>.

Confidence scales

Scales differ by result. The SDK passes them through unchanged. Workflow results expose no scores or thresholds. Read them on your backend from Retrieve session.

Open sets

These types are structs or tolerant enums, so a newer server can send a value this SDK version doesn’t know. Always keep a default branch.
  • SessionStatus, APIErrorCode, WorkflowFailure.Code, WorkflowSessionFailure.Code
  • AntiCheatResult.Verdict and .Action, IPCheckResult.Verdict: unknown values arrive as .unknown(String)
  • DeepIDVError.Kind: may gain cases