TrustedPresentationThresholds(Single, Single, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 minimum alpha the Window must have to be considered inside the threshold. Must be greater than 0.0 and no greater than 1.0.
- minFractionRendered
- Single
The minimum fraction of the Window presented to the user to be considered inside the threshold. Must be greater than 0.0 and no greater than 1.0.
- stabilityRequirementMs
- Int32
The time in milliseconds required for the Window to
be in the threshold. Must be at least 1 millisecond; zero or negative values cause
this constructor to throw IllegalArgumentException.
- Attributes
Remarks
Creates a new TrustedPresentationThresholds.
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.