TinyBase logoTinyBase

Listener methods

This is the collection of listener methods within the Relationships interface. There are 5 listener methods in total.

addLinkedRowIdsListener

The addLinkedRowIdsListener method registers a listener function with the Relationships object that will be called whenever the linked Row Ids in a linked list Relationship change.

addLocalRowIdsListener

The addLocalRowIdsListener method registers a listener function with the Relationships object that will be called whenever the local Row Ids in a Relationship change.

addRemoteRowIdListener

The addRemoteRowIdListener method registers a listener function with the Relationships object that will be called whenever a remote Row Id in a Relationship changes.

addRelationshipIdsListener

The addRelationshipIdsListener method registers a listener function with the Relationships object that will be called whenever a Relationship definition is added or removed.

delListener

The delListener method removes a listener that was previously added to the Relationships object.