Click or drag to resize

IEventManager Interface

API for working with events.

Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
public interface IEventManager

The IEventManager type exposes the following members.

Methods
 NameDescription
Public methodGetAllEventTypes Returns a list of event types that can be used as event type parameter in the corresponding register method.
Public methodGetEventTypes Returns a list of event types that can be used as event type parameter for the given device in the corresponding register method.
Public methodGetInitialEvents Returns the currently known states of all devices. The states are returned as state events.
Public methodCode exampleRegister(EventReceiver) Registers an event receiver for all events.
Public methodRegister(EventReceiver, Device) Registers for events of the given device.
Public methodRegister(EventReceiver, IEnumerableDevice) Registers for events of the given list of devices.
Public methodRegister(EventReceiver, String) Registers for events of the given event type.
Public methodUnregister Unregisters the event receiver. All registrations of the same receiver are unregistered.
Top
See Also