configure

fun configure(context: Context, config: HatangConfig)

Configures the SDK. Calling it again replaces the previous instance (the old engine is disposed). With HatangConfig.autoConnect the SDK bootstraps and connects in the background right away.