[This is preliminary documentation and is subject to change.]
Register a Subscriber message handler to process SIF_Event messages
received on the zones joined with this topic. The message handler will
be called whenever a SIF_Event is received for the SIF Data Object type
associated with the topic.
| C# | Visual Basic | Visual C++ |
void SetSubscriber( ISubscriber subscriber, ProvisioningFlags flags )
Sub SetSubscriber ( _ subscriber As ISubscriber, _ flags As ProvisioningFlags _ )
void SetSubscriber ( ISubscriber^ subscriber, ProvisioningFlags flags )
- subscriber (ISubscriber)
- An object that implements the Subscriber interface
- flags (ProvisioningFlags)
- Specify AdkFlags.PROV_SUBSCRIBE to register the agent as a subscriber of the object type. The Adk will send a SIF_Subscribe message to each zone joined with the topic.