Updated

The Children event that is raised when a child node of a watched data node is updated.

This event wraps at once all updates related to the children of the watched data node (additions, changes, removals) in order to lighten the bandwidth used on the mobile push notification channel.

It results from a subscription to the type of SubscribableEvent.Child.Added, SubscribableEvent.Child.Changed, SubscribableEvent.Child.Removed, SubscribableEvent.Child.AddedChanged, SubscribableEvent.Child.AddedRemoved, SubscribableEvent.Child.ChangedRemoved or SubscribableEvent.Child.AddedChangedRemoved.

Properties

added
Link copied to clipboard
val added: Map<String, DatasyncValue?>

List of the newly added child nodes with their values. When providing full values of each child node would oversize the notification payload limitations, all values are passed null.

appId
Link copied to clipboard
open override val appId: String

Identifier of the WebcomApplication this Notification relates to.

changed
Link copied to clipboard
val changed: Map<String, DatasyncValue?>

List of the child nodes whose value has changed, with their new values. When providing full values of each child node would oversize the notification payload limitations, all values are passed null.

data
Link copied to clipboard
open override val data: PushNotificationEvent.Children.Updated

The event conveyed by this DataNotification.

path
Link copied to clipboard
open override val path: String

Path of the data this Notification relates to, or "" if it doesn't relate to any data node.

removed
Link copied to clipboard
val removed: List<String>

List of the child nodes that have just been removed.