OnvifGetSnapshotUriMediaCommand constructor
OnvifGetSnapshotUriMediaCommand()
Implementation
OnvifGetSnapshotUriMediaCommand() {
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('valid-until-connect',
defaultsTo: false,
help:
'Indicates if the Uri is only valid until the connection is established.')
..addFlag('valid-until-reboot',
defaultsTo: false,
help: 'Indicates if the Uri is invalid after a reboot of the device.')
..addOption('timeout',
defaultsTo: 'PT0S', help: 'Duration how long the Uri is valid.');
}