UrlHandler

fun interface UrlHandler

This interface will be called when an event like a push notification or in app message contains a URL that needs to be handled.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun handleUrl(context: Context, url: String, urlSource: String): PendingIntent?

This method should return the android.app.PendingIntent you wish to have execute when a push notification action with a URL is to be displayed.