@Nullable 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.
context
- Context: Application Context.
urlSource
- String: The source of the URL.
Return
PendingIntent?: the PendingIntent which will handle the message URL. null
values will result in no action for the URL.