ICameraManagerSendData Method |  |
Generates an "External Data Event" for the specified camera.
Namespace: Bosch.Vms.SDKAssembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntaxvoid SendData(
Camera camera,
string application,
DateTime dateTimeUtc,
params string[] data
)
Parameters
- camera Camera
-
The camera acting as a source of the "External Data Event". Must be a valid, non-null camera from the "Encoders/Decoders" section
of Config Clients Events page.
- application String
-
The application that sends the data. Specify a non-empty string uniquely defining your application. This string will be available
from the EventData of the generated event as Key-Value pair by key "Application".
By using the special application identifier defined by CameraHiddenDataApplicationId, the provided data
are hidden in the Operator Client user interface.
- dateTimeUtc DateTime
- The current date time in UTC. Defines the Time of the generated event.
- data String
-
Application specific data. You may specify up to 10 strings. These strings will be available from the EventData of
the generated event as Key-Value pairs with keys "Data1", "Data2" up to "Data10". You may not specify null for any of these
arguments. Empty strings are allowed.
When a string begins with the special prefix defined by HiddenAttributePrefix, it defines a "command" to hide
one or more peer Key-Value pairs in the Operator Client user interface. The keys must be listed after the prefix, separated with a space.
Any Key-Value pair containing a "hide command" is also hidden implicitly.
Exceptions| Exception | Condition |
|---|
| SdkException |
Thrown in case camera is null or invalid or not permitted, application is null or empty,
data is null, or one of the data-fields have been specified null. Thrown
as well if more than 10 data have been provided.
|
See Also