共用方式為


Display.HdrSdrRatio Property

Definition

public virtual float HdrSdrRatio { [Android.Runtime.Register("getHdrSdrRatio", "()F", "GetGetHdrSdrRatioHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getHdrSdrRatio", "()F", "GetGetHdrSdrRatioHandler", ApiSince=34)>]
member this.HdrSdrRatio : single

Property Value

The current hdr/sdr ratio expressed as the ratio of targetHdrPeakBrightnessInNits / targetSdrWhitePointInNits. If #isHdrSdrRatioAvailable() is false, this always returns 1.0f.

Attributes

Remarks

Java documentation for android.view.Display.getHdrSdrRatio().

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