Companion

object Companion

Functions

initialise
Link copied to clipboard
fun initialise(moEngage: MoEngage)

Initialise MoEngage SDK with MoEngage object returned by MoEngage.Builder

initialiseDefaultInstance
Link copied to clipboard
fun initialiseDefaultInstance(moEngage: MoEngage)

Initialise the default instance of SDK with configuration provided in MoEngage

fun initialiseDefaultInstance(moEngage: MoEngage, sdkState: SdkState)

Initialise the default instance of SDK with configuration provided in MoEngage and SDK state, i.e. whether the SDK should be in enabled or disabled state.

initialiseInstance
Link copied to clipboard
fun initialiseInstance(moEngage: MoEngage)

Initialise the SDK with configuration provided in MoEngage

fun initialiseInstance(moEngage: MoEngage, sdkState: SdkState)

Initialise the SDK with configuration provided in MoEngage and SDK state, i.e. whether the SDK should be in enabled or disabled state.

isSdkInitialised
Link copied to clipboard
fun isSdkInitialised(): Boolean

Checks if the SDK is initialised with any account marked as default.

fun isSdkInitialised(appId: String): Boolean

Checks if the the SDK is initialised with the given account identifier or not.