Språk

TrustedPresentationThresholds.MinAlpha Property

Definition

The min alpha the Window is required to have to be considered inside the threshold.

public float MinAlpha { [Android.Runtime.Register("getMinAlpha", "()F", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getMinAlpha", "()F", "", ApiSince=35)>]
member this.MinAlpha : single

Property Value

On Android 15 and 16, the annotated range is greater than 0.0 and no greater than 1.0. Those versions can also return values above 1.0 or NaN if they were passed to the constructor.

Attributes

Remarks

The min alpha the Window is required to have to be considered inside the threshold.

Java documentation for android.window.TrustedPresentationThresholds.getMinAlpha().

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