Marketing Cloud SDK / com.salesforce.marketingcloud.notifications / NotificationManager / areNotificationsEnabled

areNotificationsEnabled

abstract fun areNotificationsEnabled(): Boolean

Returns whether or not notifications are enabled. If false then the user will not see any notifications. (Push, Geofence, or Beacon).

Return
Boolean: boolean The state of notifications, either enabled (true) or disabled (false)

See Also
com.salesforce.marketingcloud.messages.push.PushMessageManagercom.salesforce.marketingcloud.messages.RegionMessageManager#enableNotifications()#disableNotifications()