isSdkEnabled

fun isSdkEnabled(context: Context, appId: String? = null): Boolean

Returns the current state of the SDK, i.e. whether it is enabled or disabled. Optionally pass in the account identifier to get the status for a specific account. If you only have the default instance configured appId parameter can be ignored.

Return

true is the SDK is enabled, else false.

Since

12.2.02

Parameters

context

Instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard.