Dash
object Dash
Entry point to Dash SDK.
init is required to be called from Application.onCreate before any interaction with Dash SDK.
Properties
Link copied to clipboard
Controller for a Dash instance running in the host application.
Link copied to clipboard
Defines whether Dash has already been initialized in this application process.
Functions
Link copied to clipboard
When used, all values from the original DashConfiguration are preserved and only the mutations are applied and reflected in a new config instance.
Link copied to clipboard
fun init(context: Context, accessToken: String, extraModules: List<Module> = emptyList(), overrideConfigScope: PluginManager.ConfigScope.() -> Unit = {}, overrideFactory: PluginManager.PluginFactory.() -> Unit = {}, defaultThemeId: ThemeId = DashThemeId.Day, func: DashInit.() -> Unit = {})
Call this initialization function from Application.onCreate and provide the configuration.