OnvifGotoPresetPtzCommand constructor

OnvifGotoPresetPtzCommand()

Implementation

OnvifGotoPresetPtzCommand() {
  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',
      mandatory: true,
      help: 'A requested preset token.',
    )
    ..addOption(
      'pan-tilt-x',
      valueHelp: 'double',
      help:
          'Pan and tilt speed. The x component corresponds to pan. If omitted in a request, the current (if any) Vector2D movement should not be affected.',
    )
    ..addOption(
      'pan-tilt-y',
      valueHelp: 'double',
      help:
          'Pan and tilt speed. The y component corresponds to tilt. If omitted in a request, the current (if any) Vector2D movement should not be affected.',
    )
    ..addOption(
      'zoom',
      valueHelp: 'double',
      help:
          'A zoom speed. If omitted in a request, the current (if any) Zoom movement should not be affected.',
    );
}