BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
Bosch.Vms.SDK
IVirtualInputManager Interface
IVirtualInputManager Methods
GetVirtualInputById Method
GetVirtualInputByName Method
GetVirtualInputByNumber Method
GetVirtualInputInfoList Method
SendData Method
SwitchOff Method
SwitchOn Method

# IVirtualInputManagerSendData Method |

Generates a "Virtual Input Data Event" for the specified virtual input.
Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
Copy

    void SendData(
    	VirtualInput input,
    	long externalAlarmId,
    	params string[] dataString
    )

#### Parameters

input VirtualInput
  The virtual input acting as a source of the "Virtual Input Data Event".
externalAlarmId Int64
  User-defined value. It can e.g. be used to identify the source/cause of the "Virtual Input Data Event".
  By using the special application identifier defined by VirtualInputHiddenDataExternalAlarmId, the provided data are hidden in the Operator Client user interface.
dataString String
  User-defined 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.
  Please note that it is not recommended to pass non-printable characters as virtual input data. For details see the "Concepts" section of the BVMS Configuration Manual for details on how additional data is handled in BVMS.
  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 if input doesn't exist in the configuration or is not permitted to caller.

See Also

#### Reference

IVirtualInputManager Interface
Bosch.Vms.SDK Namespace

Copyright © Bosch Sicherheitssysteme GmbH