ONVIF:...ptions(3pm)

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

πŸ’– NAME πŸ’–

okay bestie, so this page is all about ONVIF::Analytics::Types::OSDConfigurationOptions β€” and yeah, it lives in section 3pm, aka the Perl-User-Contributed-Documentation zone, iykyk. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? 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 whole vibe. πŸ’…

🌸 PROPERTIES 🌸

The way that these properties work is that you can grab 'em with get_PROPERTY and set 'em with set_PROPERTY methods. Obsessed, honestly. Here's the full list, no skips:

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

✨ METHODS ✨

πŸŽ€ new

Constructor, bestie! It's literally the birthing moment of your object 🫢. Here's the data structure you can pass to new(), copied exactly so don't come for me if the spacing looks cursed:

{ # ONVIF::Analytics::Types::OSDConfigurationOptions
  MaximumNumberOfOSDs => ,
  Type => $some_value, # OSDType
  PositionOption =>  $some_value, # string
  TextOption =>  { # ONVIF::Analytics::Types::OSDTextOptions
    Type =>  $some_value, # string
    FontSizeRange =>  { # ONVIF::Analytics::Types::IntRange
      Min =>  $some_value, # int
      Max =>  $some_value, # int
    },
    DateFormat =>  $some_value, # string
    TimeFormat =>  $some_value, # string
    FontColor =>  { # ONVIF::Analytics::Types::OSDColorOptions
      Color =>        { # ONVIF::Analytics::Types::ColorOptions
        # One of the following elements.
        # No occurrence checks yet, so be sure to pass just one...
        ColorList => ,
        ColorspaceRange =>  { # ONVIF::Analytics::Types::ColorspaceRange
          X =>  { # ONVIF::Analytics::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Y =>  { # ONVIF::Analytics::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Z =>  { # ONVIF::Analytics::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Colorspace =>  $some_value, # anyURI
        },
      },
      Transparent =>  { # ONVIF::Analytics::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      Extension =>  { # ONVIF::Analytics::Types::OSDColorOptionsExtension
      },
    },
    BackgroundColor =>  { # ONVIF::Analytics::Types::OSDColorOptions
      Color =>        { # ONVIF::Analytics::Types::ColorOptions
        # One of the following elements.
        # No occurrence checks yet, so be sure to pass just one...
        ColorList => ,
        ColorspaceRange =>  { # ONVIF::Analytics::Types::ColorspaceRange
          X =>  { # ONVIF::Analytics::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Y =>  { # ONVIF::Analytics::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Z =>  { # ONVIF::Analytics::Types::FloatRange
            Min =>  $some_value, # float
            Max =>  $some_value, # float
          },
          Colorspace =>  $some_value, # anyURI
        },
      },
      Transparent =>  { # ONVIF::Analytics::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      Extension =>  { # ONVIF::Analytics::Types::OSDColorOptionsExtension
      },
    },
    Extension =>  { # ONVIF::Analytics::Types::OSDTextOptionsExtension
    },
  },
  ImageOption =>  { # ONVIF::Analytics::Types::OSDImgOptions
    ImagePath =>  $some_value, # anyURI
    Extension =>  { # ONVIF::Analytics::Types::OSDImgOptionsExtension
    },
  },
  Extension =>  { # ONVIF::Analytics::Types::OSDConfigurationOptionsExtension
  },
},
🚨 bestie listen β€” inside ColorOptions it says "One of the following elements." and then "No occurrence checks yet, so be sure to pass just one..." like the code is literally telling you: no validation happening here, so it's on YOU to only pass one. Don't be messy. πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. Iconic. No cap. 🧚


and that's a wrap, bestie πŸ“ β€” this was perl v5.40.1, dated 2026-02-01, from the ONVIF:...ptions(3pm) page in User Contributed Perl Documentation. mwah, go slay your OSD config πŸ’–βœ¨

πŸ“¦ where this page comes from