ONVIF:...tions20(3pm)
π ONVIF::PTZ::Types::FocusOptions20 π
okay bestie, so this is a page from the User Contributed Perl Documentation set, and it's all about ONVIF::PTZ::Types::FocusOptions20. yes the name is long. yes it's giving very "my class name is my whole personality." but she's iconic and she knows it π
β¨ NAME β¨
ONVIF::PTZ::Types::FocusOptions20 β say it with your chest, bestie π
πΈ DESCRIPTION πΈ
So this is a Perl data type class. Specifically, it's the Perl class for the XML Schema-defined complexType called FocusOptions20, and it comes from the namespace:
http://www.onvif.org/ver10/schema
That's it. That's the whole vibe. It's a type class. It exists so your Perl code can hold focus-options data and not cry about it. π
π¦ PROPERTIES π¦
The following properties may be accessed using get_PROPERTY / set_PROPERTY methods β so yes, for each of these you've got a getter and a setter, no cap:
AutoFocusModesDefaultSpeedNearLimitFarLimitExtension
that's the whole roster. five little icons, all in a row β¨
π METHODS π
π new
Constructor. And here's the tea β the following data structure may be passed to new():
{ # ONVIF::PTZ::Types::FocusOptions20
AutoFocusModes => $some_value, # AutoFocusMode
DefaultSpeed => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
NearLimit => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
FarLimit => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Extension => { # ONVIF::PTZ::Types::FocusOptions20Extension
},
},
look at her. AutoFocusModes takes an AutoFocusMode. DefaultSpeed, NearLimit and FarLimit each take an ONVIF::PTZ::Types::FloatRange with a Min and a Max (both float). and Extension takes an ONVIF::PTZ::Types::FocusOptions20Extension, which is nested and mysterious and honestly kind of main character energy π
π« AUTHOR π«
Generated by SOAP::WSDL β not me, not you, the machine did it. and honestly? she ate π₯
π okay that's the whole page, bestie. this one came from the User Contributed Perl Documentation crew, it's running on perl v5.40.1, and it's dated 2026-02-01. slay, stay focused (literally, it's a focus options class), and go read the source, mwah π«Άππ§
π¦ 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