---
title: इनिशियलाइज़ेशन API
canonical: https://developer.unico.io/hi/dual-api/developers/sdks-and-tools/ios/api-reference/initialization-api
locale: hi
generated_by: markdown-export
---

## Classes / Builders

| Class | विवरण |
|---|---|
| `AcessoBioManager` | SDK का मुख्य entry point |
| `AcessoBioConfigDataSource` | Credential configuration के लिए Protocol |

## Constructor

दो overloads उपलब्ध हैं:

```swift
// एकल-तर्क — viewController को AcessoBioManagerDelegate के अनुरूप होना चाहिए
AcessoBioManager(viewController: UIViewController)

// दो-तर्क — delegate एक अलग ऑब्जेक्ट हो सकता है
AcessoBioManager(viewController: UIViewController, delegate: AcessoBioManagerDelegate)
```

| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| `viewController` | `UIViewController` | Capture screen present करने के लिए iOS context |
| `delegate` | `AcessoBioManagerDelegate` | लाइफसाइकल कॉलबैक के लिए Delegate — दोनों ओवरलोड में आवश्यक; एकल-तर्क फॉर्म में, `viewController` को स्वयं `AcessoBioManagerDelegate` के अनुरूप होना चाहिए। |

## Configuration properties

| विधि | प्रकार | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
| `setEnvironment(_:)` | `EnvironmentEnum` | `.PROD` | Environment — `.PROD` या `.UAT` |
| `setSmartFrame(_:)` | `Bool` | `true` | Selfie capture के लिए intelligent framing सक्षम करता है |
| `setAutoCapture(_:)` | `Bool` | `true` | Automatic capture सक्षम करता है |
| `setTimeoutSession(_:)` | `Int` | `40` | अधिकतम session समय, सेकंड में (न्यूनतम: 40) |
| `setLocale(_:)` | `LocaleTypes` | `.PT_BR` | Capture screen की भाषा |
| `setTheme(_:)` | `AcessoBioThemeDelegate` | — | Capture screen के लिए custom theme |

## बिल्ड

| Method | Returns | Description |
|---|---|---|
| `build()` | `UnicoCheckCamera` | बिल्डर को पूरा करता है और `prepareSelfieCamera` या `prepareDocumentCamera` को कॉल करने के लिए उपयोग किए जाने वाले कैमरा ऑब्जेक्ट को लौटाता है |