MiPushConfig

class MiPushConfig(appId: String, appKey: String, isRegistrationEnabled: Boolean)

Mi Push Config Configuration

Author

Umang Chamaria

Parameters

appId

App-Id from the Mi Dashboard.

appKey

App-Key from the Mi Dashboard

isRegistrationEnabled

true if you want the MoEngage SDK to register for Push Token else false.

Constructors

MiPushConfig
Link copied to clipboard
fun MiPushConfig()
Creates a default instance of the Mi Push Config
MiPushConfig
Link copied to clipboard
fun MiPushConfig(appId: String, appKey: String, isRegistrationEnabled: Boolean)
App-Id from the Mi Dashboard.

Functions

toString
Link copied to clipboard
open override fun toString(): String

Properties

appId
Link copied to clipboard
var appId: String
App-Id from the Mi Dashboard.
appKey
Link copied to clipboard
var appKey: String
App-Key from the Mi Dashboard
isRegistrationEnabled
Link copied to clipboard
var isRegistrationEnabled: Boolean
If true MoEngage SDK to register for Push Token.