SilentPushEvent

class SilentPushEvent(val pushData: Map<String, String>, val receivedTimestamp: Long = System.currentTimeMillis()) : PushEvent

Event published when a silent/sync push message is received. This event is specifically for push messages which are silent

Parameters

pushData

The raw push message data containing sync information

receivedTimestamp

The timestamp when the push was received

Constructors

Link copied to clipboard
constructor(pushData: Map<String, String>, receivedTimestamp: Long = System.currentTimeMillis())

Properties

Link copied to clipboard
val pushData: Map<String, String>
Link copied to clipboard

Functions

Link copied to clipboard

Extension function to check if a SilentPushEvent should be handled for ENGAGEMENT destination.

Link copied to clipboard
open override fun toJson(): JSONObject

Convert the silent push event to a JSON object.

Link copied to clipboard
open override fun toString(): String

String representation of the silent push event for logging and debugging.