ONVIF:...Options(3pm)
π NAME π
okay bestie, gather round, because this is ONVIF::Media::Types::PTZPresetTourSpotOptions β a whole Perl data type class, fr fr. It lives in the User Contributed Perl Documentation manual (third section, 3pm, you know the vibe) and honestly? it's giving "tiny little class, huge important job." π
β¨ DESCRIPTION β¨
So like. This is a Perl data type class for the XML Schema defined complexType PTZPresetTourSpotOptions, and it comes straight outta the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole deal β it's the Perl-side glow-up of one specific XML complexType, no cap. π
πΈ PROPERTIES πΈ
These properties? You get at them with the get_PROPERTY / set_PROPERTY methods. Lowkey the whole point. The list:
PresetDetailStayTime
That's the two. Periodt. π
π¦ METHODS π¦
π new
Constructor, bestie. It's the "make me a new one" method, and here's the data structure you may pass to new() β every single line, verbatim, because we do not mess with the sacred code:
{ # ONVIF::Media::Types::PTZPresetTourSpotOptions
PresetDetail => { # ONVIF::Media::Types::PTZPresetTourPresetDetailOptions
PresetToken => $some_value, # ReferenceToken
Home => $some_value, # boolean
PanTiltPositionSpace => { # ONVIF::Media::Types::Space2DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
YRange => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
ZoomPositionSpace => { # ONVIF::Media::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
Extension => { # ONVIF::Media::Types::PTZPresetTourPresetDetailOptionsExtension
},
},
StayTime => { # ONVIF::Media::Types::DurationRange
Min => $some_value, # duration
Max => $some_value, # duration
},
},
Look at that nesting. The way PresetDetail nests inside itself like a lil matryoshka of types β PanTiltPositionSpace and ZoomPositionSpace each hauling around their own XRange (and YRange for the 2D one, obviously, it's 2D), and then StayTime sitting pretty with a DurationRange of Min and Max durations. Iconic structure tbh. π
π«Ά AUTHOR π«Ά
Generated by SOAP::WSDL. It literally wrote itself, king behavior. π
okay and for the cute sign-off: this whole thing is perl v5.40.1, dated 2026-02-01, and it's page ONVIF:...Options(3pm) of the User Contributed Perl Documentation. bye bestie, go build your preset tour spot options πβ¨π¦
π¦ 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