OnvifContinuousMovePtzCommand constructor

OnvifContinuousMovePtzCommand()

Implementation

OnvifContinuousMovePtzCommand() {
  argParser
    ..addOption(
      'profile-token',
      abbr: 't',
      valueHelp: 'token',
      mandatory: true,
      help:
          'The ProfileToken element indicates the media profile to use and will define the source and dimensions of the snapshot.',
    )
    ..addOption(
      'pan-tilt-x',
      mandatory: true,
      valueHelp: 'double',
      help:
          'A Position vector specifying the absolute target position x-axis.',
    )
    ..addOption(
      'pan-tilt-y',
      mandatory: true,
      valueHelp: 'double',
      help:
          'A Position vector specifying the absolute target position y-axis.',
    )
    ..addOption(
      'pan-tilt-zoom',
      mandatory: true,
      valueHelp: 'double',
      help: 'A Position vector specifying the absolute target position zoom.',
    )
    ..addOption(
      'timeout',
      mandatory: false,
      valueHelp: 'int',
      help:
          'The timeout parameter specifies how long the PTZ node continues to move.',
    );
}