OnvifFindRecordingsSearchCommand constructor

OnvifFindRecordingsSearchCommand()

Implementation

OnvifFindRecordingsSearchCommand() {
  argParser
    ..addOption('scope-include-sources-type', valueHelp: 'string', help: '')
    ..addOption('scope-include-sources-token', valueHelp: 'string', help: '')
    ..addOption(
      'scope-include-recordings',
      valueHelp: 'string',
      help:
          'A list of recordings that are included in the scope. If this list is included, only data from one of these recordings shall be searched.',
    )
    ..addOption(
      'scope-recording-information-filter',
      valueHelp: 'string',
      help:
          'An xpath expression used to specify what recordings to search. Only those recordings with an RecordingInformation structure that matches the filter shall be searched.',
    )
    ..addOption(
      'max-matches',
      valueHelp: 'int',
      help:
          'The search will be completed after this many matches. If not specified, the search will continue until reaching the endpoint or until the session expires.',
    )
    ..addOption(
      'keep-alive-time',
      valueHelp: 'duration',
      defaultsTo: 'PT0S',
      help:
          'The time the search session will be kept alive after responding to this and subsequent requests. A device shall support at least values up to ten seconds.',
    );
}