ONVIF:...ptions(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– ONVIF::Media::Types::OSDConfigurationOptions πŸ’–

okay bestie, so this is the ONVIF:...ptions(3pm) page β€” it lives in the User Contributed Perl Documentation section of the manual, and it's all about one very specific little Perl data type class. no cap, it's niche, but it's our niche. ✨


🌸 NAME 🌸

ONVIF::Media::Types::OSDConfigurationOptions β€” that's the whole name, that's the whole vibe. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So like… this is a Perl data type class for the XML Schema defined complexType OSDConfigurationOptions, and it comes from the namespace http://www.onvif.org/ver10/schema.

That's it. That's the description. Short and iconic, honestly. πŸŽ€


✨ PROPERTIES ✨

These are the properties you can get at with the get_PROPERTY / set_PROPERTY methods. Read the list, it's giving very structured:

  • MaximumNumberOfOSDs
  • Type
  • PositionOption
  • TextOption
  • ImageOption
  • Extension

six of them, all lined up, all accounted for. slay. 🫢


πŸ’… METHODS πŸ’…

🌈 new 🌈

Constructor, babes. Here's the data structure you're allowed to pass to new(), and I am pasting it exactly because messing with it would be a crime:

{ # ONVIF::Media::Types::OSDConfigurationOptions
  MaximumNumberOfOSDs => ,
  Type => $some_value, # OSDType
  PositionOption =>  $some_value, # string
  TextOption =>  { # ONVIF::Media::Types::OSDTextOptions
    Type =>  $some_value, # string
    FontSizeRange =>  { # ONVIF::Media::Types::IntRange
      Min =>  $some_value, # int
      Max =>  $some_value, # int
    },
    DateFormat =>  $some_value, # string
    TimeFormat =>  $some_value, # string
    FontColor =>  { # ONVIF::Media::Types::OSDColorOptions
      Color =>        { # ONVIF::Media::Types::ColorOptions
        # One of the following elements.
        # No occurrence checks yet, so be sure to pass just one...
        ColorList => ,
        ColorspaceRange =>  { # ONVIF::Media::Types::ColorspaceRange
          X =>  { # ONVIF::Media::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Y =>  { # ONVIF::Media::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Z =>  { # ONVIF::Media::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Colorspace =>  $some_value, # anyURI
        },
      },
      Transparent =>  { # ONVIF::Media::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      Extension =>  { # ONVIF::Media::Types::OSDColorOptionsExtension
      },
    },
    BackgroundColor =>  { # ONVIF::Media::Types::OSDColorOptions
      Color =>        { # ONVIF::Media::Types::ColorOptions
        # One of the following elements.
        # No occurrence checks yet, so be sure to pass just one...
        ColorList => ,
        ColorspaceRange =>  { # ONVIF::Media::Types::ColorspaceRange
          X =>  { # ONVIF::Media::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Y =>  { # ONVIF::Media::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Z =>  { # ONVIF::Media::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Colorspace =>  $some_value, # anyURI
        },
      },
      Transparent =>  { # ONVIF::Media::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      Extension =>  { # ONVIF::Media::Types::OSDColorOptionsExtension
      },
    },
    Extension =>  { # ONVIF::Media::Types::OSDTextOptionsExtension
    },
  },
  ImageOption =>  { # ONVIF::Media::Types::OSDImgOptions
    ImagePath =>  $some_value, # anyURI
    Extension =>  { # ONVIF::Media::Types::OSDImgOptionsExtension
    },
  },
  Extension =>  { # ONVIF::Media::Types::OSDConfigurationOptionsExtension
  },
},
ok so real talk for a sec πŸ™ˆ β€” see where it says # One of the following elements. and # No occurrence checks yet, so be sure to pass just one...? That's a genuine warning, not a cute aside. There are no occurrence checks yet, so you have to be the responsible one and pass just one. the code will not hold your hand here, bestie. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. it made itself, basically. main character energy fr fr. ✨


perl v5.40.1 Β· 2026-02-01 Β· and we were hanging out in the ONVIF:...ptions(3pm) corner of the User Contributed Perl Documentation section this whole time πŸŽ€

that's the page!! go forth and configure your OSDs, you absolute icon πŸ¦‹πŸ’– mwah πŸ’…

πŸ“¦ where this page comes from