- Mixed in types
-
- Available Extensions
Constructors
-
Ptz({required Onvif onvif, required Uri uri})
-
Methods
-
absoluteMove(String profileToken, PtzPosition place, [PtzPosition? speed])
→ Future<bool>
-
Operation to move pan,tilt or zoom to a absolute destination.
-
continuousMove(String profileToken, PtzPosition velocity, [int? timeout])
→ Future<bool>
-
Operation for continuous Pan/Tilt and Zoom movements. The operation is
supported if the PTZNode supports at least one continuous Pan/Tilt or Zoom
space. If the space argument is omitted, the default space set by the
PtzConfiguration will be used.
-
getCompatibleConfigurations(String profileToken)
→ Future<List<PtzConfiguration>>
-
-
getConfiguration(String ptzConfigurationToken)
→ Future<PtzConfiguration>
-
Get a specific PTZconfiguration from the device, identified by its
reference token or name.
-
getConfigurations()
→ Future<List<PtzConfiguration>>
-
Get all the existing PTZConfigurations from the device.
-
getCurrentPreset(String profileToken)
→ Future<Preset?>
-
-
getPresets(String profileToken, {int limit = 100})
→ Future<List<Preset>>
-
Operation to request all PTZ presets for the Preset in the selected
profile. The operation is supported if there is support for at least one
PTZ preset by the Preset.
-
getPresetsMap(String profileToken)
→ Future<Map<String, Preset>>
-
-
getStatus(String profileToken)
→ Future<PtzStatus>
-
Operation to request PTZ status for the Node in the selected profile.
-
gotoHomePosition(String profileToken, [PtzSpeed? speed])
→ Future<bool>
-
Operation to move the PTZ device to it's "home" position. The operation is supported if the HomeSupported element in the PTZNode is true.
-
gotoPreset(String profileToken, String presetToken, [PtzSpeed? speed])
→ Future<bool>
-
Operation to go to a saved preset position for the Preset in the selected
profile. The operation is supported if there is support for at least on PTZ
preset by the Preset.
-
move(String profileToken, PanTilt direction)
→ Future<void>
-
-
moveDown(String profileToken, [int step = 25])
→ Future<void>
-
A helper method to perform a single
step
of a relativeMove on the
negative y axis (down)
-
moveLeft(String profileToken, [int step = 25])
→ Future<void>
-
A helper method to perform a single
step
of a relativeMove on the
negative x axis (left)
-
moveRight(String profileToken, [int step = 25])
→ Future<void>
-
A helper method to perform a single
step
of a relativeMove on the
positive x axis (right)
-
moveUp(String profileToken, [int step = 25])
→ Future<void>
-
A helper method to perform a single
step
of a relativeMove on the
positive y axis (up)
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed.
inherited
-
relativeMove(String profileToken, PtzPosition move)
→ Future<void>
-
Operation for Relative Pan/Tilt and Zoom Move. The operation is supported
if the PTZNode supports at least one relative Pan/Tilt or Zoom space.
-
removePreset(String profileToken, Preset preset)
→ Future<void>
-
Operation to remove a PTZ preset for the Node in the selected profile. The
operation is supported if the PresetPosition capability exists for the Node
in the selected profile.
-
setPreset(String profileToken, [String? name, String? token])
→ Future<String>
-
The setPreset command saves the current device position parameters so
that the device can move to the saved preset position through the
gotoPreset operation. In order to create a new Preset, the
SetPresetRequest contains no PresetToken. If creation is successful, the
Response contains the PresetToken which uniquely identifies the Preset. An
existing Preset can be overwritten by specifying the PresetToken of the
corresponding Preset. In both cases (overwriting or creation) an optional
PresetName can be specified. The operation fails if the PTZ device is
moving during the setPreset operation. The device may internally save
additional states such as imaging properties in the PTZ Preset which then
should be recalled in the gotoPreset operation.
-
stop(String profileToken, {bool panTilt = true, bool zoom = true})
→ Future<bool>
-
Operation to stop ongoing pan, tilt and zoom movements of absolute relative
and continuous type. If no stop argument for pan, tilt or zoom is set, the
device will stop all ongoing pan, tilt and zoom movements.
-
toString()
→ String
-
A string representation of this object.
inherited
-
zoom(String profileToken, Zoom zoom)
→ Future<void>
-
-
zoomIn(String profileToken, [int step = 25])
→ Future<void>
-
A helper method to perform a single
step
of a relativeMove on the
positive z axis (closer)
-
zoomOut(String profileToken, [int step = 25])
→ Future<void>
-
A helper method to perform a single
step
of a relativeMove on the
negative y axis (farther)