BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
Bosch.Vms.SDK
IAlarmManager Interface
IAlarmManager Methods
Accept Method
Clear Method
GetAlarms Method
GetTriggeringEventData Method
IsAlarmListEmpty Method
Register Method
Unaccept Method
Unregister Method

# IAlarmManagerRegister Method |

Registers an alarm receiver for alarms.
Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
Copy

    bool Register(
    	AlarmReceiver alarmReceiver
    )

#### Parameters

alarmReceiver AlarmReceiver
  Alarm receiver.

#### Return Value

Boolean
true if the receiver is registered, false if the maximum number of receivers have already been reached.
Exceptions

Exception | Condition
--- | ---
SdkException | Is thrown if alarmReceiver is null.
UnauthorizedAccessSdkException | Thrown if operation is not permitted to caller.

Remarks

Do not forget to unregister the alarm-receiver when it is not needed anymore.

Note that the SDK does not notify alarm-receivers about alarms where the workflow-settings of the alarm-options specify that the alarm is a record-only alarm.

Usage Note
The number of receivers that are allowed to register for events are currently limited to 10 receivers.

See Also

#### Reference

IAlarmManager Interface
Bosch.Vms.SDK Namespace

Copyright © Bosch Sicherheitssysteme GmbH