UlcSystem includes new API to subscribe to the addition and removal of
UlcContexts:
- ulcWhenContextAddedSend: aDirectedMessage
- Whenever a new context has been created, UlcSystem will signal this
event. The event passes the newly created context as its single
parameter.
- ulcWhenContextRemovedSend: aDirectedMessage
- This event will be signalled by a UlcContext just before it is being
destroyed. At this point, the context is still fully functional, which
will not be the case thereafter. The UI implementation for the monitor
has to take care not to send messages to a UlcContext after having received
this message.
Every new UlcContext will be assigned a new instance of UlcMonitor.
Use the API on the UlcMonitor to access information about the state of the
context and messages sent and received by the context.
- Note:
- The monitor does not get reset even when the context is destroyed but retains
all information collected in the context's lifetime until it is manually
reset or is garbage collected. Custom user interfaces may use the
UlcMonitor API, which is also Composition Editor enabled.