PushNotificationActionHandler

Package 

com.salesforce.marketingcloud.notifications

Overview 

A BroadcastReceiver class that processes action payloads from Marketing Cloud Push Notifications.

Inheritance 

1class PushNotificationActionHandler : BroadcastReceiver

Extends: android.content.BroadcastReceiver

Constructors 

PushNotificationActionHandler 

1constructor()

Default constructor with no parameters.

Methods 

onReceive 

1open override fun onReceive(
2    context: Context,
3    intent: Intent
4)

Overrides the BroadcastReceiver.onReceive() method to handle incoming broadcast intents.

Parameters:

  • context: The Context in which the receiver is running
  • intent: The Intent being received

Returns: Unit (void)


SDK Version: 11.0.0.0
Platform: androidJvm

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!