ONVIF:...eateOSD(3pm)

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

πŸ’– ONVIF::Media::Elements::CreateOSD πŸ’–

okay bestie, so this page is ONVIF::Media::Elements::CreateOSD(3pm) from the User Contributed Perl Documentation β€” section 3pm, the perl module zone, you know the vibe ✨


🌸 NAME 🌸

ONVIF::Media::Elements::CreateOSD


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? This is a Perl data type class for the XML Schema defined element CreateOSD, and it lives in the namespace http://www.onvif.org/ver10/media/wsdl. That's it, that's the whole job. It's giving "I exist to represent one element and I do it flawlessly" πŸ’…


πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can touch, and the way you touch them is with get_PROPERTY / set_PROPERTY methods. no cap, that's the whole access system 🫢

  • OSD β€” the one and only property, and she's iconic πŸ‘‘
$element->set_OSD($data);
$element->get_OSD();

✨ METHODS ✨

🌈 new

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

Constructor, bestie. She builds you the element. And here's the data structure you're allowed to hand over to new() β€” copied character for character because I would never mess with your code, that's disrespectful 😀

{
  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
    },
  },
},

look at all those nested hashrefs. she's structured. she's organized. she's an OSD configuration and she knows it 🧚

heads up: some of those keys come in with no value filled in at all (Pos => , and Color => , are literally just sitting there like that) β€” that's how the original lays it out, so I'm not touching it. periodt πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL


and that's the whole page, bestie!! πŸ“ tysm for reading, mwah πŸ’–

this was ONVIF::Media::Elements::CreateOSD(3pm) from User Contributed Perl Documentation, running on perl v5.40.1, dated 2026-02-01 β€” stay hydrated, stay slaying, and go call set_OSD on something ✨

πŸ“¦ where this page comes from