ONVIF:...ptions(3pm)
π 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:
MaximumNumberOfOSDsTypePositionOptionTextOptionImageOptionExtension
β¨ 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
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms