core / ai.meson.sdk / MesonSdkInitializationListener / onComplete

onComplete

abstract fun onComplete(error: Error?): Unit

Method invoked when SDK initialization process is complete. Note. The callback will be given on the Main/UI thread

Parameters

error - Returns the Error object. It will be null in case of success, otherwise use java.lang.Error.message to know the cause of Initialization failure.