initialise

open fun initialise(@NonNull moEngage: MoEngage)

Initialise MoEngage SDK with MoEngage object returned by MoEngage.Builder

Parameters

moEngage

instance of MoEngage


open fun initialise(@NonNull moEngage: MoEngage, isSdkEnabled: Boolean)

Initialise MoEngage SDK with instance of MoEngage and enable/disable SDK state. By default the the SDK is enabled on initialisation and if you don't want to toggle the state use initialise Use this API only if you want to toggle states.

Parameters

moEngage

instance of MoEngage

isSdkEnabled

true if you want to enable the SDK, else false.