toggle menu
Marketing Cloud SDK
androidJvm
switch theme
search in API
Marketing Cloud SDK
/
com.salesforce.marketingcloud.notifications
/
NotificationManager
/
ShouldShowNotificationListener
Should
Show
Notification
Listener
interface
ShouldShowNotificationListener
Members
Functions
should
Show
Notification
Link copied to clipboard
abstract
fun
shouldShowNotification
(
@
NonNull
message
:
NotificationMessage
)
:
Boolean
At the time that a notification would be presented by the SDK it will check for an implementation of this interface and honor the boolean return value to determine if the message should be displayed or not.