MobileAppMessaging
MobileAppMessagingConfig
MobileAppMessagingInitializationStatus
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
The main entry point for the MobileAppMessaging module in the Salesforce Marketing Cloud Unified SDK. This class implements a singleton pattern with asynchronous initialization and component management.
Package: com.salesforce.marketingcloud.mobileappmessaging
Inheritance: MobileAppMessaging : ModuleInterface
1object CompanionCompanion object for the MobileAppMessaging class.
1fun interface InitializationListenerFunctional interface for receiving initialization completion callbacks.
1abstract class WhenReadyHandler(
2 looper: Looper?,
3 val listener: MobileAppMessaging.WhenReadyListener
4)Handler class for processing asynchronous SDK requests.
Parameters:
looper - Optional Looper for handler operationslistener - The WhenReadyListener callback1fun interface WhenReadyListenerFunctional interface callback for when the MobileAppMessaging module is ready for use.
1open override val state: JSONObjectProvides the current state of the MobileAppMessaging SDK as a JSON object.
Returns: JSONObject containing:
1fun getAnalyticsManager(): AnalyticsManagerRetrieves the analytics component for managing analytics state.
Returns: AnalyticsManager instance
1fun getRegistrationManager(): RegistrationManagerRetrieves the registration component for managing device registration.
Returns: RegistrationManager instance
1fun getVersionName(): StringGets the version name of the module.
Returns: String representing the module version