Marketing Cloud SDK / com.salesforce.marketingcloud / UrlHandler

UrlHandler

interface UrlHandler

This interface will be called when a message is received from the Marketing Cloud servers and contains a URL.

Annotations

UrlSource

class UrlSource

Properties

ACTION

The URL was sent via an In-App Message button action.

static val ACTION: String

Functions

handleUrl

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

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