class MarketingCloudSdk : ControlChannelListener
InitializationListener |
Returns an instance of interface InitializationListener |
WhenReadyListener |
Returns a valid instance of interface WhenReadyListener |
getAnalyticsManager |
fun getAnalyticsManager(): AnalyticsManager |
getInAppMessageManager |
fun getInAppMessageManager(): InAppMessageManager |
getInboxMessageManager |
fun getInboxMessageManager(): InboxMessageManager |
getInitializationStatus |
fun getInitializationStatus(): InitializationStatus |
getInstance |
Returns an instance of the static fun getInstance(): MarketingCloudSdk? |
getLogLevel |
static fun getLogLevel(): Int |
getMarketingCloudConfig |
Returns the fun getMarketingCloudConfig(): MarketingCloudConfig |
getNotificationManager |
fun getNotificationManager(): NotificationManager |
getPushMessageManager |
fun getPushMessageManager(): PushMessageManager |
getRegionMessageManager |
fun getRegionMessageManager(): RegionMessageManager |
getRegistrationManager |
fun getRegistrationManager(): RegistrationManager |
getSdkState |
fun getSdkState(): JSONObject |
getSdkVersionCode |
static fun getSdkVersionCode(): Int |
getSdkVersionName |
static fun getSdkVersionName(): String |
init |
Initializes the SDK with the provided static fun init(context: Context, config: MarketingCloudConfig, listener: InitializationListener?): Unit |
isInitializing |
Indicates whether the sdk is currently executing its initialization routine. static fun isInitializing(): Boolean |
isReady |
Indicates whether or not there is a valid instance of static fun isReady(): Boolean |
requestSdk |
An asynchronous request for an instance of static fun requestSdk(listener: WhenReadyListener): Unit
An asynchronous request for a instance of static fun requestSdk(looper: Looper?, listener: WhenReadyListener): Unit |
setLogLevel |
static fun setLogLevel(level: Int): Unit |
setLogListener |
static fun setLogListener(logListener: MCLogListener?): Unit |
unregisterWhenReadyListener |
Prevents a static fun unregisterWhenReadyListener(listener: WhenReadyListener): Unit |