BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
Bosch.Vms.SDK
IEventManager Interface
IEventManager Methods
GetAllEventTypes Method
GetEventTypes Method
GetInitialEvents Method
Register Method
Unregister Method

# IEventManagerGetInitialEvents Method |

Returns the currently known states of all devices. The states are returned as state events.
Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
Copy

    IEnumerable<EventData> GetInitialEvents()

#### Return Value

IEnumerable EventData
List of events containing the device states
Remarks
Expect this method to block for some seconds in very large systems until all device states have been collected and transfered back to the caller.

Usage Note
Because devices may continously change their state, the actual device state may already differ from the device states returned by this method. Therefore, do not use or rely upon this method when you need the latest device state. Instead, register an event receiver for state changes (see Register(EventReceiver)) and use e.g. GetInitialStates to request the current device states.

See Also

#### Reference

IEventManager Interface
Bosch.Vms.SDK Namespace

Copyright © Bosch Sicherheitssysteme GmbH