OnvifRelativeMovePtzCommand constructor

OnvifRelativeMovePtzCommand()

Implementation

OnvifRelativeMovePtzCommand() {
  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('translation-x',
        valueHelp: 'double',
        mandatory: true,
        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('translation-y',
        valueHelp: 'double',
        mandatory: true,
        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('translation-zoom',
        valueHelp: 'double',
        mandatory: true,
        help:
            'A zoom speed. If omitted in a request, the current (if any) Zoom movement should not be affected.');
}