Skip to content

Object Updated Event Overview

When an object is updated in the Backendless Real-Time Database, it instantly notifies connected clients about the change using the update event. Objects can be updated either using the Backendless Data API or in Backendless Console. A listener for the update event can be notified about either updates of any object in the database or only those which match a pattern expressed as a where clause.

An event listener itself is an object which receives a callback when an event is triggered by the real-time database. To add an event listener, it is necessary to obtain a handler for a database table first. The handler provides methods for registering an event listener.

Event listener functions for the Object Updated Event must implement the following delegate:

public delegate void ObjectUpdated<T>( T obj );

where T is a type representing the updated object in the Backendless database. If your code uses the Dictionary-based approach in the APIs, the type must be Dictionary<string, object>.