SurfaceControl.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 TrustedPresentationThresholds that's used when calling
Transaction#setTrustedPresentationCallback(SurfaceControl,
TrustedPresentationThresholds, Executor, Consumer)
[Android.Runtime.Register(".ctor", "(FFI)V", "", ApiSince=34)]
public TrustedPresentationThresholds (float minAlpha, float minFractionRendered, int stabilityRequirementMs);
[<Android.Runtime.Register(".ctor", "(FFI)V", "", ApiSince=34)>]
new Android.Views.SurfaceControl.TrustedPresentationThresholds : single * single * int -> Android.Views.SurfaceControl.TrustedPresentationThresholds
Parameters
- minAlpha
- Single
The min alpha the SurfaceControl
is required to
have to be considered inside the threshold.
- minFractionRendered
- Single
The min fraction of the SurfaceControl that was resented to the user to be considered inside the threshold.
- stabilityRequirementMs
- Int32
The time in milliseconds required for the
SurfaceControl
to be in the threshold.
- Attributes
Remarks
Creates a TrustedPresentationThresholds that's used when calling Transaction#setTrustedPresentationCallback(SurfaceControl, TrustedPresentationThresholds, Executor, Consumer)
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.