PNSetDataSyncMembershipEventMessage
data class PNSetDataSyncMembershipEventMessage(val source: String, val version: String, val event: PNDataSyncSetEventType, val type: String, val className: String?, val classLevel: String?, val classVersion: Int?, val data: PNDataSyncMembershipData) : PNDataSyncEventMessage
A DataSync Membership create/update event (wire type:"membership"). data is the full snapshot, carrying both endpoint refs. This event is published to both endpoint ref-channels (the channel's ref and the user's ref), never to a membership-id channel — so subscribe to a Channel/User ref to hear about its memberships.
event is CREATE or UPDATE.
Constructors
Link copied to clipboard
constructor(source: String, version: String, event: PNDataSyncSetEventType, type: String, className: String?, classLevel: String?, classVersion: Int?, data: PNDataSyncMembershipData)
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.
Link copied to clipboard
Link copied to clipboard