handleMessage

fun handleMessage(context: Context, message: RemoteMessage): Boolean

handleMessage will try to parse the received message into an Appcues notification, if it does it will return true, or false in case the message is not for Appcues to handle

Return

determining whether we handled the message or not.

Parameters

context

application context ('this' when calling from service)

message

remote message coming from the messaging service