---
title: Callback / Listener इंटरफ़ेस
canonical: https://developer.unico.io/hi/developers/sdks-and-tools/ios/api-reference/callback-listener-interfaces
locale: hi
generated_by: markdown-export
---

- [/hi/](/hi/)
- [SDKs और टूल्स](/hi/developers/sdks-and-tools/overview)
- [iOS SDK](/hi/developers/sdks-and-tools/ios/requirements)
- API संदर्भ
- Callback / Listener इंटरफ़ेस

# Callback / Listener इंटरफ़ेस

AcessoBioManagerDelegate (lifecycle)
| विधि | ट्रिगर |
| --- | --- |
| `onErrorAcessoBioManager(_ error: ErrorBio!)` | SDK संचालन के दौरान implementation त्रुटि |
| `onUserClosedCameraManually()` | उपयोगकर्ता ने मैन्युअल रूप से कैमरा बंद किया |
| `onSystemClosedCameraTimeoutSession()` | timeout के कारण session समाप्त (डिफ़ॉल्ट: 40 सेकंड) |
| `onSystemChangedTypeCameraTimeoutFaceInference()` | 13 सेकंड तक कोई चेहरा नहीं पहचाना — capture manual में बदल जाता है |

AcessoBioSelfieDelegate (selfie)
| विधि | ट्रिगर |
| --- | --- |
| `onSuccessSelfie(_ result: SelfieResult!)` | Selfie capture सफल रहा |
| `onSuccess(_ result: SuccessResult!)` | User Journey पूरी हुई — `processId` लौटाता है। Unico API इंटीग्रेशन में आवश्यक |
| `onErrorSelfie(_ errorBio: ErrorBio!)` | Selfie capture विफल रहा |

AcessoBioDocumentDelegate (document)
| विधि | ट्रिगर |
| --- | --- |
| `onSuccessDocument(_ result: DocumentResult!)` | Document capture सफल रहा |
| `onErrorDocument(_ errorBio: ErrorBio!)` | Document capture विफल रहा |

SelfieCameraDelegate / DocumentCameraDelegate (तैयारी)
| विधि | ट्रिगर |
| --- | --- |
| `onCameraReady(_ cameraOpener: AcessoBioCameraOpenerDelegate!)` | Selfie कैमरा खोलने के लिए तैयार है |
| `onCameraFailed(_ message: ErrorPrepare!)` | Selfie कैमरा तैयारी विफल रही |
| `onCameraReadyDocument(_ cameraOpener: AcessoBioCameraOpenerDelegate!)` | Document कैमरा खोलने के लिए तैयार है |
| `onCameraFailedDocument(_ message: ErrorPrepare!)` | Document कैमरा तैयारी विफल रही |

`ErrorPrepare``ErrorPrepare` प्रकार `ErrorBio` का extension है, इसलिए इसमें उसके सभी properties शामिल हैं।

अंतिम अपडेट **23 अक्टू॰ 2026** को