OnvifStopPtzCommand constructor

OnvifStopPtzCommand()

Implementation

OnvifStopPtzCommand() {
  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.',
    )
    ..addFlag(
      'pan-tilt',
      defaultsTo: true,
      help:
          'Set true when we want to stop ongoing pan and tilt movements.If Vector2D arguments are not present, this command stops these movements.',
    )
    ..addFlag(
      'zoom',
      defaultsTo: true,
      help:
          'Set true when we want to stop ongoing zoom movement.If Zoom arguments are not present, this command stops ongoing zoom movement.',
    );
}