ONVIF::...eBalance(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

ok so bestie, this is ONVIF::Media::Types::WhiteBalance β€” say it with me, it's a Perl data type class for the XML Schema defined complexType WhiteBalance, and it lives in the namespace http://www.onvif.org/ver10/schema ✨ (yes the manual name got squished into ONVIF::...eBalance(3) up top, that's just the header being extra πŸ’…).


🌸 DESCRIPTION 🌸

okay so picture this: WhiteBalance is a complexType defined in the XML Schema, chillin' in the namespace http://www.onvif.org/ver10/schema, and this module? it's the Perl data type class for it. literally that's the whole gig. it's giving "I'm the Perl-side glow-up of an XML schema type" and honestly? iconic. πŸ‘‘


πŸ’– PROPERTIES πŸ’–

these are the properties you can get at with the get_PROPERTY / set_PROPERTY methods, no cap:

  • Mode β€” the mode one πŸ¦‹
  • CrGain β€” the Cr gain one πŸ“
  • CbGain β€” the Cb gain one 🧚

⭐ METHODS ⭐

🌈 new 🌈

the constructor, bestie! 🫢 this is the data structure you may pass to new() β€” copy it exactly, don't freestyle it:

{ # ONVIF::Media::Types::WhiteBalance
  Mode => $some_value, # WhiteBalanceMode
  CrGain =>  $some_value, # float
  CbGain =>  $some_value, # float
},

like, Mode is a WhiteBalanceMode, and CrGain and CbGain are both floats. simple, clean, slay. πŸ’…

fr fr keep those key names exactly as written β€” CrGain and CbGain are not interchangeable and the case matters, iykyk 😭

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” yeah, it was generated, don't come for it πŸ™ˆ


and that's the whole page, bestie! πŸŽ€ the footer says perl v5.42.3 and the date is 1980-01-01, so shoutout to that very specific timestamp πŸ’€βœ¨ β€” ok bye, go set some CrGains πŸ¦‹πŸ’–

πŸ“¦ where this page comes from