> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deepidv.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Results

> Every result type the iOS SDK returns, which call returns it, and the confidence scale each uses.

| Call | Returns | Details |
| - | - | - |
| `DeepIDVWorkflowView` | `WorkflowRunResult` | [Results and the decision](https://docs.deepidv.com/integrate/sdks/ios/workflows/results.md) |
| `makeReVerifyView` | `ReVerifyResult` | [Re-verification](https://docs.deepidv.com/integrate/sdks/ios/re-verification.md#results) |
| `DeepIDVVerificationView` | `DeepIDVVerificationResult` | [Drop-in verification](https://docs.deepidv.com/integrate/sdks/ios/drop-in-verification.md#deepidvverificationresult) |
| `DocumentScannerView`, `scanDocument` | `DocumentScanResult` | [Document capture](https://docs.deepidv.com/integrate/sdks/ios/document-capture.md#documentscanresult) |
| `verifyIdentity` | `IdentityVerifyResult` | [Identity verify](https://docs.deepidv.com/integrate/sdks/ios/headless/document-and-identity.md#identityverifyresult) |
| `SelfieCaptureView` | `FileInput` (the photo) | [Selfie](https://docs.deepidv.com/integrate/sdks/ios/selfie.md) |
| `CustomFaceLivenessView`, `checkMovementLiveness` | `FaceLivenessResult` | [Face liveness](https://docs.deepidv.com/integrate/sdks/ios/face-liveness.md#facelivenessresult) |
| `checkAntiCheat`, `AntiCheatCheckView` | `AntiCheatResult` | [iGaming](https://docs.deepidv.com/integrate/sdks/ios/headless/igaming.md#anticheatresult) |
| `checkVPN`, `checkIPJurisdiction` | `IPCheckResult` | [iGaming](https://docs.deepidv.com/integrate/sdks/ios/headless/igaming.md#ipcheckresult) |
| `faceProbe` | `FaceProbe` | [Liveness with your own camera](https://docs.deepidv.com/integrate/sdks/ios/headless/liveness.md) |

Every view calls `onResult` exactly once, with a `Result<…, DeepIDVError>`.

## Confidence scales

Scales differ by result. The SDK passes them through unchanged.

| Field | Scale |
| - | - |
| `DocumentScanResult.confidence` | **0 to 1** |
| `IdentityVerifyResult.overallConfidence`, `.document.confidence`, `.faceDetection.confidence`, `.faceMatch.confidence`, `.faceMatch.threshold` | 0 to 100 |
| `FaceLivenessResult.confidence` | 0 to 100 (`nil` on a failed workflow attempt) |
| `FaceProbe.widthRatio`, `.centerOffset` | 0 to 1 (geometry, not confidence) |

Workflow results expose no scores or thresholds. Read them on your backend from [Retrieve session](https://docs.deepidv.com/api-reference/sessions/retrieve-session.md).

## 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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.