/AWS1/CL_KNVSCHEDULECONFIG¶
This API enables you to specify the duration that the camera,
or local media file, should record onto the Edge Agent. The ScheduleConfig consists of the ScheduleExpression and the
DurationInMinutes attributes.
If the ScheduleConfig is not provided in the RecorderConfig,
then the Edge Agent will always be set to recording mode.
If the ScheduleConfig is not provided in the UploaderConfig,
then the Edge Agent will upload at regular intervals (every 1 hour).
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_scheduleexpression TYPE /AWS1/KNVSCHEDULEEXPRESSION /AWS1/KNVSCHEDULEEXPRESSION¶
The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the
ScheduleExpressionis not provided for theRecorderConfig, then the Edge Agent will always be set to recording mode.For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.
iv_durationinseconds TYPE /AWS1/KNVDURATIONINSECONDS /AWS1/KNVDURATIONINSECONDS¶
The total duration to record the media. If the
ScheduleExpressionattribute is provided, then theDurationInSecondsattribute should also be specified.
Queryable Attributes¶
ScheduleExpression¶
The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the
ScheduleExpressionis not provided for theRecorderConfig, then the Edge Agent will always be set to recording mode.For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCHEDULEEXPRESSION() |
Getter for SCHEDULEEXPRESSION, with configurable default |
ASK_SCHEDULEEXPRESSION() |
Getter for SCHEDULEEXPRESSION w/ exceptions if field has no |
HAS_SCHEDULEEXPRESSION() |
Determine if SCHEDULEEXPRESSION has a value |
DurationInSeconds¶
The total duration to record the media. If the
ScheduleExpressionattribute is provided, then theDurationInSecondsattribute should also be specified.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DURATIONINSECONDS() |
Getter for DURATIONINSECONDS, with configurable default |
ASK_DURATIONINSECONDS() |
Getter for DURATIONINSECONDS w/ exceptions if field has no v |
HAS_DURATIONINSECONDS() |
Determine if DURATIONINSECONDS has a value |