DOKK / manpages / debian 11 / zoneminder / ONVIF::Media::Elements::SetOSD.3pm.en
ONVIF::Media::Elements::SetOSD(3pm) User Contributed Perl Documentation ONVIF::Media::Elements::SetOSD(3pm)

ONVIF::Media::Elements::SetOSD

Perl data type class for the XML Schema defined element SetOSD from the namespace http://www.onvif.org/ver10/media/wsdl.

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods:

OSD

 $element->set_OSD($data);
 $element->get_OSD();
    

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

Constructor. The following data structure may be passed 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
     },
   },
 },

Generated by SOAP::WSDL

2021-01-31 perl v5.32.0