OnvifSetPresetPtzCommand constructor

OnvifSetPresetPtzCommand()

Implementation

OnvifSetPresetPtzCommand() {
  argParser
    ..addOption(
      'profile-token',
      abbr: 't',
      valueHelp: 'profile-token',
      mandatory: true,
      help:
          'A reference to the MediaProfile where the operation should take place.',
    )
    ..addOption(
      'preset-token',
      valueHelp: 'preset-token',
      help: 'A requested preset token.',
    )
    ..addOption(
      'preset-name',
      valueHelp: 'name',
      help: 'The name of the new preset.',
    );
}