PushMessage

data class PushMessage<out A : Action> : WithAction<A>

Common (cross-platform) push-message structure

Functions

Link copied to clipboard
fun isSilent(): Boolean

If true - process action silently

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun withNotification(notification: Notification): PushMessage<A>

Adds a notification. Without notification the message is processed silently

Properties

Link copied to clipboard
open override val action: A

Action

Link copied to clipboard
val deepLink: DeepLink<A>

Deep link to action

Link copied to clipboard
val id: String

Push message ID

Link copied to clipboard
val notification: Notification?

Optional notification to display on push. If null - push processes silently

Link copied to clipboard
val ttl: Int

Time-to-live in seconds