Sdílet prostřednictvím


DisplayManager.HdrConversionMode Property

Definition

Returns the HdrConversionMode of the device, which is set by the user.

public Android.Hardware.Display.HdrConversionMode HdrConversionMode { [Android.Runtime.Register("getHdrConversionMode", "()Landroid/hardware/display/HdrConversionMode;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getHdrConversionMode", "()Landroid/hardware/display/HdrConversionMode;", "", ApiSince=34)>]
member this.HdrConversionMode : Android.Hardware.Display.HdrConversionMode

Property Value

Attributes

Remarks

Returns the HdrConversionMode of the device, which is set by the user.

When HdrConversionMode#getConversionMode is HdrConversionMode#HDR_CONVERSION_SYSTEM, the HdrConversionMode#getPreferredHdrOutputType depicts the systemPreferredHdrOutputType. The HDR conversion mode chosen by user which considers the app override is returned. Apps can override HDR conversion using android.view.WindowManager.LayoutParams#setHdrConversionEnabled(boolean).

Java documentation for android.hardware.display.DisplayManager.getHdrConversionMode().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to