View Source ExOnvif.PTZ.AbsoluteMove (ExOnvif v0.7.1)

Schema describing the absolute move request to the PTZ service.

Summary

Types

t()

@type t() :: %ExOnvif.PTZ.AbsoluteMove{
  position: term(),
  profile_token: term(),
  speed: term()
}

vector()

@type vector() :: {float(), float(), float()}

Functions

changeset(absolute_move, attrs)

encode(absolute_move)

new(profile_token, position, speed \\ nil)

@spec new(String.t(), ExOnvif.PTZ.Vector.t(), ExOnvif.PTZ.Vector.t() | nil) :: t()

Creates a new absolute move request.

Parameters

  • profile_token - The token of the profile to move.
  • position - The position to move to, represented as a Vector.
  • speed - The speed of the move, represented as a Vector. Optional.