PNUnknownDataSyncEventMessage
data class PNUnknownDataSyncEventMessage(val source: String, val version: String, val event: String, val type: String, val className: String?, val classLevel: String?, val classVersion: Int?, val metadata: Map<String, Any?>?, val data: Map<String, Any?>?) : PNDataSyncEventMessage
A DataSync event whose type/event combination is not recognized by this SDK version — a forward-compatibility catch-all for element kinds or event kinds added in a future server version.
The (present) type/event discriminators are surfaced so a customer can still branch on the unrecognized type string, and the raw metadata + data are preserved so nothing is lost. Your exhaustive when over PNDataSyncEventMessage should route unmapped events here (via an else branch) rather than assuming the hierarchy is closed.
Constructors
Properties
Link copied to clipboard
the level at which the class is defined (e.g. SubKey / Global). Modeled as a nullable String rather than an enum to stay source-compatible with future values.
Link copied to clipboard
the object's class version, if present on the envelope.