OnvifGetRecordingSearchResultsSearchCommand constructor

OnvifGetRecordingSearchResultsSearchCommand()

Implementation

OnvifGetRecordingSearchResultsSearchCommand() {
  argParser
    ..addOption(
      'search-token',
      abbr: 't',
      valueHelp: 'token',
      mandatory: true,
      help: 'The search session to get results from.',
    )
    ..addOption(
      'min-results',
      valueHelp: 'int',
      help: 'The minimum number of results to return in one response.',
    )
    ..addOption(
      'max-results',
      valueHelp: 'int',
      help: 'The maximum number of results to return in one response.',
    )
    ..addOption(
      'wait-time',
      valueHelp: 'duration',
      help:
          'The maximum time before responding to the request, even if the MinResults parameter is not fulfilled.',
    );
}