AnalyticsManager
Package: com.salesforce.marketingcloud.mobileappmessaging.analytics
SDK Version: Mobile App Messaging SDK v1.1.0 (Salesforce Marketing Cloud Unified SDK 11.0.0)
Platform: androidJvm
Public interface for interacting with the MobileAppMessaging Analytics features. Provides status checking and configuration-based analytics control following SDK patterns.
Note: Analytics state is controlled by the
analyticsEnabledconfiguration parameter and cannot be changed at runtime.
The enable/disable methods are provided for API compatibility but will only log warnings about the current configuration state.
Indicates whether the MobileAppMessaging analytics are enabled or disabled.
Returns: Boolean - The current analytics state
Note: The state is determined by the analyticsEnabled configuration parameter.
Disable analytics collection.
Note: Analytics state is controlled by configuration and cannot be changed at runtime. This method logs a warning about the current configuration state.
Enable analytics collection.
Note: Analytics state is controlled by configuration and cannot be changed at runtime. This method logs a warning about the current configuration state.