Subscribe and Unsubscribe Types and Functions
The subscribeValues
and unsubscribeValues
methods allow subscribing and unsubscribing for changes of value of one or multiple properties in a Desigo CC system.
It is possible to:
- Specify a fixed list of objects to whom to subscribe.
- Set up a filter so that the subscription will be dynamically applied to all the objects that satisfy the filter criteria. When a property changes value, the callback method provided as parameter will be invoked.
- Subscribe multiple times. For unsubscribing, it is necessary to provide the result of invoking
subscribeValues
.