MoEngage

open class MoEngage

Initialise MoEngage SDK using this class. Please follow the guidelines mentioned in MoEngage Integration Docs for integrating the MoEngage SDK.

Author

Umang Chamaria

Types

Builder
Link copied to clipboard
open class Builder
Initialise MoEngage SDK using this class.

Functions

disableSdk
Link copied to clipboard
open fun disableSdk(context: Context)
API to disable all features of the SDK.
enableSdk
Link copied to clipboard
open fun enableSdk(context: Context)
API to enable SDK usage.
initialise
Link copied to clipboard
open fun initialise(@NonNull moEngage: MoEngage)
Initialise MoEngage SDK with MoEngage object returned by MoEngage.Builder
open fun initialise(@NonNull moEngage: MoEngage, isSdkEnabled: Boolean)
Initialise MoEngage SDK with instance of MoEngage and enable/disable SDK state.
optOutDataTracking
Link copied to clipboard
open fun optOutDataTracking(context: Context, shouldOptOutDataTracking: Boolean)
Optionally opt-out of data tracking.
optOutInAppNotification
Link copied to clipboard
open fun optOutInAppNotification(context: Context, shouldOptOutInApp: Boolean)
Optionally opt-out of in-app campaigns.
optOutPushNotification
Link copied to clipboard
open fun optOutPushNotification(context: Context, shouldOptOutPushNotification: Boolean)
Optionally opt-out of push campaigns.
setBuildStatus
Link copied to clipboard
open fun setBuildStatus(buildStatus: Boolean)

Properties

isAppForeground
Link copied to clipboard
open var isAppForeground: Boolean
isDebugBuild
Link copied to clipboard
private open val isDebugBuild: Boolean