Action

sealed class Action : Parcelable

Actions are used to define the behavior of user events on the push notification.

Inheritors

Types

Link copied to clipboard
data class CloudPage(val url: String) : Action

Opens cloud page via a URL in the default browser.

Link copied to clipboard
object Companion
Link copied to clipboard
data class Deeplink(val url: String) : Action

Opens a deep link via UrlHandler

Link copied to clipboard
object Dismiss : Action

Dismisses the notification.

Link copied to clipboard
object OpenApp : Action

Launches the integrating app.

Link copied to clipboard
enum Type : Enum<Action.Type>
Link copied to clipboard
data class Url(val url: String) : Action

Opens a URL in the default browser.

Properties

Link copied to clipboard
val type: Int

Functions

Link copied to clipboard
fun toJson(): JSONObject