private AdvancedColorInfo advancedColorInfo = new AdvancedColorInfo();
I have tried the above code, but get this error:
“AdvancedColorInfo doesn't contain a constructor that takes 0 arguments.”
I am trying to use the method IsHdrMetadataFormatCurrentlySupported
, so I need to create an instance of the AdvancedColorInfo
class.
I tried changing the UWP Windows version that is mentioned in the documentation but no luck.
How do I get an instance of AdvancedColorInfo
?