ONVIFPTZStartMove
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", or one of the focus and IR cut filter commands described in ONVIF Focus and IR Cut Filter. SpeedRatio is usually in the 0..1.0 range.
-
If the camera supports a limited move duration and a DurationMs value > 0 is specified, the camera automatically stops the move when this duration has elapsed.
-
If the camera does not support a limited move duration, the camera moves until ONVIFPTZStopMove is invoked.