ONVIFPTZStartMove
method
Delphi
function ONVIFPTZStartMove (PTZType: string; OppositeDirection: Boolean; SpeedRatio: Double; DurationMs: LongInt): Boolean;
C++Builder
bool __fastcall ONVIFPTZStartMove(System::UnicodeString PTZType, bool OppositeDirection, double SpeedRatio, System::LongInt DurationMs);
C#
public bool ONVIFPTZStartMove(string PTZType, bool OppositeDirection, double SpeedRatio, int DurationMs);
VB.NET
Public Function ONVIFPTZStartMove(PTZType As String, OppositeDirection As Boolean, SpeedRatio As Double, DurationMs As Integer) As Boolean
C++/Qt
BOOL ONVIFPTZStartMove (wchar_t *PTZType, BOOL OppositeDirection, double SpeedRatio, int DurationMs);
Starts a continuous move of the specified PTZ.
PTZType can be "Pan", "Tilt" or "Zoom"
SpeedRatio is usually in the 0 .. 1.0 range
-
if the camera supports a limited move duration and a DurationMs value > 0, the camera will automatically stop the move when this duration is elapsed.
-
if the camera does not support a limited move duration, the camera moves until ONVIFPTZStopMove is invoked.