Sdílet prostřednictvím


TrustedPresentationThresholds(Single, Single, Int32) Constructor

Definition

Creates a new TrustedPresentationThresholds.

[Android.Runtime.Register(".ctor", "(FFI)V", "", ApiSince=35)]
public TrustedPresentationThresholds (float minAlpha, float minFractionRendered, int stabilityRequirementMs);
[<Android.Runtime.Register(".ctor", "(FFI)V", "", ApiSince=35)>]
new Android.Window.TrustedPresentationThresholds : single * single * int -> Android.Window.TrustedPresentationThresholds

Parameters

minAlpha
Single

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

minFractionRendered
Single

The min fraction of the Window that was presented to the user to be considered inside the threshold.

stabilityRequirementMs
Int32

The time in milliseconds required for the Window to be in the threshold.

Attributes

Remarks

Creates a new TrustedPresentationThresholds.

Java documentation for android.window.TrustedPresentationThresholds.TrustedPresentationThresholds(.*float, .*float, .*int).

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