ONVIF:...ions20(3pm)
β¨ NAME β¨
okay bestie, say hi to ONVIF::Device::Types::FocusOptions20 π β it's a Perl data type class, living its best life in section 3pm of the manual (that's the perl module section, iykyk). One class, one job, and it's serving it. π
πΈ DESCRIPTION πΈ
So basically? This is a Perl data type class for the XML Schema defined complexType FocusOptions20, and it comes straight outta the namespace http://www.onvif.org/ver10/schema. That's the whole vibe. It's a little schema-shaped container and it knows it. β¨
π PROPERTIES π
These are the properties, and the way you get at them is via get_PROPERTY / set_PROPERTY methods β that's the pattern, that's the system, that's just how we do it here fr fr. π«Ά
AutoFocusModesDefaultSpeedNearLimitFarLimitExtension
π METHODS π
π new
Constructor energy. It's giving "let me build you a fresh object." β¨ And here's the data structure you're allowed to pass to new(), copied exactly so you don't have to guess anything (no guessing, ever, bestie):
{ # ONVIF::Device::Types::FocusOptions20
AutoFocusModes => $some_value, # AutoFocusMode
DefaultSpeed => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
NearLimit => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
FarLimit => { # ONVIF::Device::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Extension => { # ONVIF::Device::Types::FocusOptions20Extension
},
},
like, look at those nested FloatRange hashes with their Min and Max floats β DefaultSpeed, NearLimit and FarLimit all got the same treatment, and Extension is just sitting there as a ONVIF::Device::Types::FocusOptions20Extension waiting for whatever you wanna put in it. π¦
π AUTHOR π
Generated by SOAP::WSDL. Not me, not you, not your group chat β SOAP::WSDL did that. π
okay and for the lil sign-off moment: this page is running under perl v5.40.1, dated 2026-02-01, and it's a user-contributed Perl doc, so slay πππ¦β periodt.
π¦ 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