eufy-mega / model/capabilities / PtzDirection
Variable: PtzDirection
ts
const PtzDirection: object;Rotate direction. PtzDirection is both the const value-object (PtzDirection.left) and the union type of its values, so callers use the named constant: rotate(PtzDirection.left).
Type Declaration
down
ts
readonly down: "down" = "down";Tilt down (one step).
left
ts
readonly left: "left" = "left";Pan left (one step).
right
ts
readonly right: "right" = "right";Pan right (one step).
up
ts
readonly up: "up" = "up";Tilt up (one step).