my $element = ONVIF::Media::Elements::GetOSDOptionsResponse->new($data);
Constructor. The following data structure may be passed to
new():
{
OSDOptions => { # ONVIF::Media::Types::OSDConfigurationOptions
MaximumNumberOfOSDs => ,
Type => $some_value, # OSDType
PositionOption => $some_value, # string
TextOption => { # ONVIF::Media::Types::OSDTextOptions
Type => $some_value, # string
FontSizeRange => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
DateFormat => $some_value, # string
TimeFormat => $some_value, # string
FontColor => { # ONVIF::Media::Types::OSDColorOptions
Color => { # ONVIF::Media::Types::ColorOptions
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
ColorList => ,
ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange
X => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Y => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Z => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Colorspace => $some_value, # anyURI
},
},
Transparent => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
Extension => { # ONVIF::Media::Types::OSDColorOptionsExtension
},
},
BackgroundColor => { # ONVIF::Media::Types::OSDColorOptions
Color => { # ONVIF::Media::Types::ColorOptions
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
ColorList => ,
ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange
X => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Y => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Z => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Colorspace => $some_value, # anyURI
},
},
Transparent => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
Extension => { # ONVIF::Media::Types::OSDColorOptionsExtension
},
},
Extension => { # ONVIF::Media::Types::OSDTextOptionsExtension
},
},
ImageOption => { # ONVIF::Media::Types::OSDImgOptions
ImagePath => $some_value, # anyURI
Extension => { # ONVIF::Media::Types::OSDImgOptionsExtension
},
},
Extension => { # ONVIF::Media::Types::OSDConfigurationOptionsExtension
},
},
},