![]() |
VideoXpert SDK
2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
|
Represents a new situation configuration that specifies how corresponding events shall be generated and handled when the situation is detected. More...
#include <VxNewSituation.h>
Public Member Functions | |
VxNewSituation () | |
Initializes a new instance of the VxNewSituation struct. More... | |
VxNewSituation (const VxNewSituation &ref) | |
Initializes a new instance of the VxNewSituation struct. More... | |
~VxNewSituation () | |
Finalizes an instance of the VxNewSituation class. More... | |
void | Clear () |
Clears this instance. More... | |
void | Default () |
Defaults this instance. More... | |
Public Attributes | |
bool | isAckNeeded |
Indicates whether the generated events shall have an initial state of AckNeeded or NoAckNeeded. More... | |
bool | shouldAudiblyNotify |
Indicates whether a notification sound should play on supporting clients when an event is received. More... | |
bool | shouldExpandBanner |
Indicates whether the notification banner on clients should be expanded by default. More... | |
bool | shouldLog |
Indicates whether events generated from this situation shall be persisted or immediately be discarded. More... | |
bool | shouldNotify |
Indicates whether an event generated from the situation shall generate notifications. More... | |
char | name [64] |
The situation friendly name; forward slashes are not allowed. More... | |
char | sourceDeviceId [64] |
The unique source identifier. This field acts an optional constraint on the source of events for this situation. If specified, any events matching the situation type must also match this SourceDeviceId in order for the situation to apply. More... | |
char | type [128] |
The situation type. The type must be of the form external/<company>/<event> where <company> and <event> are strings no greater than 64 characters each; forward slashes are not allowed. These strings describe the <company> that manufactured the device that was the source of the <event>. More... | |
int | audibleLoopDelay |
The seconds to wait between audible notifications. More... | |
int | audiblePlayCount |
The amount of times to play audible notifications. More... | |
int | autoAcknowledge |
The number of seconds after which a generated event state will be set to AutoAcked. If less than 0, a generated event must be manually acknowledged. If 0, a generated event is set to AutoAcked immediately. More... | |
int | severity |
The severity of the generated event, from 1 (highest) to 10 (lowest). More... | |
int | snoozeIntervalSize |
The size of snoozeIntervals. More... | |
int * | snoozeIntervals |
The default snooze intervals, in seconds, for a generated event. More... | |
Represents a new situation configuration that specifies how corresponding events shall be generated and handled when the situation is detected.
Definition at line 13 of file VxNewSituation.h.
|
inline |
Initializes a new instance of the VxNewSituation struct.
Definition at line 18 of file VxNewSituation.h.
|
inline |
Initializes a new instance of the VxNewSituation struct.
ref | The reference. |
Definition at line 26 of file VxNewSituation.h.
|
inline |
|
inline |
Clears this instance.
Definition at line 53 of file VxNewSituation.h.
|
inline |
Defaults this instance.
Careful, this allocates snoozeIntervals so ensure to manage the memory
Definition at line 74 of file VxNewSituation.h.
int VxSdk::VxNewSituation::audibleLoopDelay |
The seconds to wait between audible notifications.
Definition at line 134 of file VxNewSituation.h.
int VxSdk::VxNewSituation::audiblePlayCount |
The amount of times to play audible notifications.
Definition at line 138 of file VxNewSituation.h.
int VxSdk::VxNewSituation::autoAcknowledge |
The number of seconds after which a generated event state will be set to AutoAcked. If less than 0, a generated event must be manually acknowledged. If 0, a generated event is set to AutoAcked immediately.
Definition at line 143 of file VxNewSituation.h.
bool VxSdk::VxNewSituation::isAckNeeded |
Indicates whether the generated events shall have an initial state of AckNeeded or NoAckNeeded.
Definition at line 98 of file VxNewSituation.h.
char VxSdk::VxNewSituation::name[64] |
The situation friendly name; forward slashes are not allowed.
Definition at line 118 of file VxNewSituation.h.
int VxSdk::VxNewSituation::severity |
The severity of the generated event, from 1 (highest) to 10 (lowest).
Definition at line 147 of file VxNewSituation.h.
bool VxSdk::VxNewSituation::shouldAudiblyNotify |
Indicates whether a notification sound should play on supporting clients when an event is received.
Definition at line 102 of file VxNewSituation.h.
bool VxSdk::VxNewSituation::shouldExpandBanner |
Indicates whether the notification banner on clients should be expanded by default.
Definition at line 106 of file VxNewSituation.h.
bool VxSdk::VxNewSituation::shouldLog |
Indicates whether events generated from this situation shall be persisted or immediately be discarded.
Definition at line 110 of file VxNewSituation.h.
bool VxSdk::VxNewSituation::shouldNotify |
Indicates whether an event generated from the situation shall generate notifications.
Definition at line 114 of file VxNewSituation.h.
int* VxSdk::VxNewSituation::snoozeIntervals |
The default snooze intervals, in seconds, for a generated event.
Definition at line 155 of file VxNewSituation.h.
int VxSdk::VxNewSituation::snoozeIntervalSize |
The size of snoozeIntervals.
Definition at line 151 of file VxNewSituation.h.
char VxSdk::VxNewSituation::sourceDeviceId[64] |
The unique source identifier. This field acts an optional constraint on the source of events for this situation. If specified, any events matching the situation type must also match this SourceDeviceId in order for the situation to apply.
Definition at line 124 of file VxNewSituation.h.
char VxSdk::VxNewSituation::type[128] |
The situation type. The type must be of the form external/<company>/<event> where <company> and <event> are strings no greater than 64 characters each; forward slashes are not allowed. These strings describe the <company> that manufactured the device that was the source of the <event>.
Definition at line 130 of file VxNewSituation.h.