ONVIF:...ension(3pm)

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

ONVIF::Device::Types::ProfileExtension πŸ’…βœ¨

okay bestie, gather round, because we're looking at a page from the User Contributed Perl Documentation collection β€” this one's ONVIF:...ension(3pm) (yeah the title got chopped in the header, it's giving truncated, but we move πŸ’€) and it's all about a lil Perl data type class. no cap, it's short, it's sweet, and we're gonna read it together 🫢


NAME πŸŽ€

ONVIF::Device::Types::ProfileExtension β€” that's the whole vibe. one class, one name, one purpose. iconic honestly πŸ‘‘


DESCRIPTION 🌸

So basically: this is a Perl data type class that models the XML Schema complexType called ProfileExtension, and it lives in the namespace http://www.onvif.org/ver10/schema. that's it. that's the assignment. lowkey elegant ✨

PROPERTIES πŸ¦‹

These are the properties you can touch β€” and you touch them through the get_PROPERTY / set_PROPERTY methods, iykyk:

  • AudioOutputConfiguration 🎧
  • AudioDecoderConfiguration πŸ”Š
  • Extension 🌱

three of them. all yours. slay πŸ’–


METHODS πŸ’…

new ⭐

The constructor, bestie! πŸŽ‰ This is how you birth a whole new object. Here's the data structure you can pass to new() β€” and yes, I'm giving it to you character for character because we do not play with code:

 { # ONVIF::Device::Types::ProfileExtension
   AudioOutputConfiguration =>  { # ONVIF::Device::Types::AudioOutputConfiguration
     OutputToken => $some_value, # ReferenceToken
     SendPrimacy =>  $some_value, # anyURI
     OutputLevel =>  $some_value, # int
   },
   AudioDecoderConfiguration =>  { # ONVIF::Device::Types::AudioDecoderConfiguration
   },
   Extension =>  { # ONVIF::Device::Types::ProfileExtension2
   },
 },

look at that nesting. look at those comments telling you what type each $some_value is supposed to be. ReferenceToken, anyURI, int β€” chef's kiss, we love a self-documenting hash 🌈

fr fr, notice how AudioDecoderConfiguration and Extension are just empty hashrefs in this example β€” they're nested types (ONVIF::Device::Types::AudioDecoderConfiguration and ONVIF::Device::Types::ProfileExtension2) so they got their own pages to flex on. not me pointing out the obvious πŸ™ˆ

AUTHOR πŸ‘‘

Generated by SOAP::WSDL

that's the whole author section. no human, just machine energy. main character is literally the code generator πŸ’€βœ¨


and that's the page!! you ate that, bestie πŸ“ go forth and get_PROPERTY / set_PROPERTY to your heart's content πŸ§šπŸ’œ

this lil masterpiece came to you via the User Contributed Perl Documentation, riding on perl v5.40.1, dated 2026-02-01 β€” and it wrapped up exactly where the footer said it would, ONVIF:...ension(3pm) and all. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from