ONVIF:...SetOSD(3pm)

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

✨ NAME ✨

ONVIF::Media::Elements::SetOSD β€” it's a Perl data type class, bestie, and it's living in the ONVIF::Media::Elements fam πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so boom: this is a Perl data type class for the XML Schema defined element SetOSD, and it comes straight outta the namespace http://www.onvif.org/ver10/media/wsdl. That's the whole vibe. It's a class. It holds data. It's giving ✨structured XML✨ and honestly? Iconic behavior.


πŸ’– PROPERTIES πŸ’–

These properties can be reached with the get_PROPERTY / set_PROPERTY methods β€” so like, get_ whatever and set_ whatever, iykyk 🫢

  • OSD β€” the one and only property, and she's got range 🌈
$element->set_OSD($data);
$element->get_OSD();

πŸŽ€ METHODS πŸŽ€

🌸 new

my $element = ONVIF::Media::Elements::SetOSD->new($data);

Constructor, bestie 🧚 β€” you hand it $data and it hands you back a whole object. Here's the data structure you can pass to new():

{
  OSD =>  { # ONVIF::Media::Types::OSDConfiguration
    VideoSourceConfigurationToken =>  { value => $some_value },
    Type => $some_value, # OSDType
    Position =>  { # ONVIF::Media::Types::OSDPosConfiguration
      Type =>  $some_value, # string
      Pos => ,
      Extension =>  { # ONVIF::Media::Types::OSDPosConfigurationExtension
      },
    },
    TextString =>  { # ONVIF::Media::Types::OSDTextConfiguration
      Type =>  $some_value, # string
      DateFormat =>  $some_value, # string
      TimeFormat =>  $some_value, # string
      FontSize =>  $some_value, # int
      FontColor =>  { # ONVIF::Media::Types::OSDColor
        Color => ,
      },
      BackgroundColor =>  { # ONVIF::Media::Types::OSDColor
        Color => ,
      },
      PlainText =>  $some_value, # string
      Extension =>  { # ONVIF::Media::Types::OSDTextConfigurationExtension
      },
    },
    Image =>  { # ONVIF::Media::Types::OSDImgConfiguration
      ImgPath =>  $some_value, # anyURI
      Extension =>  { # ONVIF::Media::Types::OSDImgConfigurationExtension
      },
    },
    Extension =>  { # ONVIF::Media::Types::OSDConfigurationExtension
    },
  },
}

Like, look at that nesting. That's a whole family tree of types and she is thriving πŸŒ³πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” so no human hand-wrote this one, it was auto-generated and honestly it ate πŸ”₯


And that's a wrap, bestie πŸ’– this was ONVIF:...SetOSD(3pm) from the User Contributed Perl Documentation, sitting at perl v5.40.1, dated 2026-02-01. Slay, stay hydrated, and go read some more manpages 🫢✨

πŸ“¦ where this page comes from