C# - IsHdrMetadataFormatCurrentlySupported() throws Uno001: "Not Implemented in Uno"

Bryan Edwards 1 Reputation point
2022-12-13T15:31:26.587+00:00
using Windows.Graphics.Display;  
bool isHDR = DisplayInformation.GetForCurrentView().GetAdvancedColorInfo().IsHdrMetadataFormatCurrentlySupported(HdrMetadataFormat.Hdr10);  
System.Diagnostics.Debug.WriteLine(isHDR);  

Throws "Uno001: Not Implemented in Uno".

DisplayInformation.GetForCurrentView().GetAdvancedColorInfo() prints successfully, its just the IsHdrMetadataFormatCurrentlySupported() method that throws the error.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,542 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 59,901 Reputation points
    2022-12-13T15:55:01.87+00:00

    Your question appears to be related to the third party Uno platform and not related to C# or any MS product. Given the error message is Uno001 that seems to confirm this. Please post your question in their support forum.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.