OnvifGetProfiles2MediaCommand constructor

OnvifGetProfiles2MediaCommand()

Implementation

OnvifGetProfiles2MediaCommand() {
  argParser
    ..addOption(
      'reference-token',
      valueHelp: 'string',
      help: 'Optional token of the requested profile.',
    )
    ..addOption('type',
        valueHelp: 'comma delimited string',
        allowed: [
          'All',
          'Analytics',
          'AudioSource',
          'AudioDecoder',
          'AudioEncoder',
          'AudioOutput',
          'Metadata',
          'VideoEncoder',
          'VideoSource',
          'PTZ',
        ],
        help:
            'The types shall be provided as defined by tr2:ConfigurationEnumeration.');
}