Initialization API
Classes / Builders
| Class | Description |
|---|---|
AcessoBio | Main SDK entry point. Instantiated with an Activity context and an AcessoBioListener. |
IAcessoBioBuilder | Builder interface for session configuration. Returned by AcessoBio methods. |
AcessoBioConfigDataSource | Interface for credential configuration — implement getHostKey() to return your SDK Key. |
Class name note
The SDK's public types are prefixed AcessoBio for historical reasons; the product is Unico IDCloud. Use AcessoBio as the entry-point class name in all Android code.
Constructor
AcessoBio(context: Activity, listener: AcessoBioListener)
| Parameter | Type | Description |
|---|---|---|
context | Activity | Android context for presenting the capture screen |
listener | AcessoBioListener | Listener for lifecycle callbacks |
Builder methods
| Method | Type | Default | Description |
|---|---|---|---|
setEnvironment(environment) | Environment | PROD | Target environment — PROD or UAT |
setLocale(locale) | LocaleTypes | PT_BR | Capture screen language |
setSmartFrame(enabled) | Boolean | true | Enables intelligent framing for selfie capture |
setAutoCapture(enabled) | Boolean | true | Enables automatic capture |
setTheme(theme) | IAcessoBioTheme | — | Custom theme for the capture screen |
setTimeoutSession(seconds) | Double | — | Maximum session time in seconds |