Skip to main content

Initialization API

Classes / Builders
ClassDescription
AcessoBioMain SDK entry point. Instantiated with an Activity context and an AcessoBioListener.
IAcessoBioBuilderBuilder interface for session configuration. Returned by AcessoBio methods.
AcessoBioConfigDataSourceInterface 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)
ParameterTypeDescription
contextActivityAndroid context for presenting the capture screen
listenerAcessoBioListenerListener for lifecycle callbacks
Builder methods
MethodTypeDefaultDescription
setEnvironment(environment)EnvironmentPRODTarget environment — PROD or UAT
setLocale(locale)LocaleTypesPT_BRCapture screen language
setSmartFrame(enabled)BooleantrueEnables intelligent framing for selfie capture
setAutoCapture(enabled)BooleantrueEnables automatic capture
setTheme(theme)IAcessoBioThemeCustom theme for the capture screen
setTimeoutSession(seconds)DoubleMaximum session time in seconds