ONVIF:...ions20(3pm)

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

✨ 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. 🫢

  • AutoFocusModes
  • DefaultSpeed
  • NearLimit
  • FarLimit
  • Extension

πŸ’… 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