Marketing Cloud SDK / com.salesforce.marketingcloud.messages.push / PushMessageManager / handleMessage

handleMessage

abstract fun handleMessage(@NonNull pushData: MutableMap<String!, String!>): Boolean

Handles the push message payload for any message sent from the Marketing Cloud.

Parameters

pushData - MutableMap<String!, String!>: Push message payload

Return
Boolean: True is the push message was handled by the SDK

abstract fun handleMessage(@NonNull message: RemoteMessage): Boolean

Handles the remote message payload for and message sent from the Marketing Cloud.

Parameters

message - RemoteMessage: Remote message payload

Return
Boolean: True if the remote message was handles by the SDK.