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

OSD (On-Screen Display) specification.

Summary

Types

t()

@type t() :: %Onvif.Media.Ver10.Schemas.OSD{
  image: term(),
  position: term(),
  text_string: term(),
  token: term(),
  type: term(),
  video_source_configuration_token: term()
}

Functions

changeset(module, attrs)

color_changeset(module, attrs)

image_changeset(module, attrs)

parse(doc)

parse_color(doc)

parse_image(doc)

parse_inner_color(doc)

parse_pos(doc)

parse_position(doc)

parse_text_string(doc)

position_changeset(module, attrs)

text_string_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)