handleUrl

abstract fun handleUrl(@NonNull context: Context, @NonNull url: String, @NonNull urlSource: String): PendingIntent

This method should return the PendingIntent you wish to have execute when a message, or message action with a url is to be displayed.

Return

the PendingIntent which will handle the message URL. null values will result in no action for the URL.

Parameters

context

Application Context.

url

The URL.

urlSource

The source of the URL.