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

enableNotifications

abstract fun enableNotifications(): Unit

Enables notifications in the SDK. This does not enable any individual message type(Push, Geofence, or Beacon), but will simply allow notifications to be shown on the device.Notifications are enabled by default.

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