handleMessage

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

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

Return

True is the push message was handled by the SDK

Parameters

pushData

Push message payload


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

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

Return

True if the remote message was handles by the SDK.

Parameters

message

Remote message payload