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

isMarketingCloudPush

open static fun isMarketingCloudPush(@NonNull pushData: MutableMap<String!, String!>): Boolean

Helper method to identify a push message payload sent from the Marketing Cloud.

Parameters

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

Return
Boolean: True if the message was sent from the Marketing Cloud.

open static fun isMarketingCloudPush(@NonNull message: RemoteMessage): Boolean

Helper method to identify a RemoteMessage sent from the Marketing Cloud.

Parameters

message - RemoteMessage: Push message payload

Return
Boolean: True if the message was sent from the Marketing Cloud.