Imaging service: focus.
source is a video source token (ExOxvif.MediaProfile
:video_source_token), not a profile token.
Summary
Types
Functions
@spec move(ExOxvif.Session.t(), String.t(), focus_move(), ExOxvif.call_opts()) :: :ok | {:error, ExOxvif.Error.t()}
Move the focus.
{:absolute, position, speed}- to a position in the device's range{:relative, distance, speed}- positive is far, negative is near{:continuous, speed}- untilstop/3; positive is far
speed may be nil for the device default.
@spec status(ExOxvif.Session.t(), String.t(), ExOxvif.call_opts()) :: {:ok, ExOxvif.Imaging.Status.t()} | {:error, ExOxvif.Error.t()}
Current focus position and movement state.
@spec stop(ExOxvif.Session.t(), String.t(), ExOxvif.call_opts()) :: :ok | {:error, ExOxvif.Error.t()}
Stop focus movement.