View Source Onvif.Media.Ver10.Schemas.OSDOptions (Onvif v0.6.0)

OSD (On-Screen Display) Options specification.

Summary

Types

t()

@type t() :: %Onvif.Media.Ver10.Schemas.OSDOptions{
  image_option: term(),
  maximum_number_of_osds: term(),
  position_option: term(),
  text_option: term(),
  type: term()
}

Functions

changeset(osd_options, params \\ %{})

color_changeset(module, attrs)

color_space_range_changeset(module, attrs)

image_option_changeset(module, attrs)

int_range_changeset(module, attrs)

maximum_number_of_osds_changeset(module, attrs)

parse(doc)

parse_color(doc)

parse_color_space_range(doc)

parse_image_option(doc)

parse_int_range(doc)

parse_maximum_number_of_osds(doc)

parse_text_color(doc)

parse_text_option(doc)

text_color_changeset(module, attrs)

text_option_changeset(module, attrs)

to_json(schema)

@spec to_json(t()) ::
  {:error,
   %{
     :__exception__ => any(),
     :__struct__ => Jason.EncodeError | Protocol.UndefinedError,
     optional(atom()) => any()
   }}
  | {:ok, binary()}

to_struct(parsed)