Companion

object Companion

Properties

Link copied to clipboard

The default Core instance.

Functions

Link copied to clipboard
fun configure(context: Context)

Default Core configuration

fun configure(context: Context, file: String)

Core configuration by config file from application assets

fun configure(context: Context, url: URL, name: String = identifier)

Core configuration by projectUrl

fun configure(context: Context, host: String, projectId: String, name: String = identifier)

Core configuration by specified host and projectId

Link copied to clipboard
fun core(identifier: String): Core

Obtain Core by specified identifier

Link copied to clipboard
fun enableLogging(enable: Boolean)

Enables or disables SDK debug logging.

Link copied to clipboard
fun purgeCore(name: String)

Clean core instance