Lenguaje

SurfaceControl.TrustedPresentationThresholds(Single, Single, Int32) Constructor

Definición

Crea una propiedad TrustedPresentationThresholds que se usa al llamar a 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

Parámetros

minAlpha
Single

El alfa SurfaceControl mínimo que es necesario tener en cuenta dentro del umbral.

minFractionRendered
Single

La fracción mínima del SurfaceControl que se presentó al usuario para que se considere dentro del umbral.

stabilityRequirementMs
Int32

El tiempo en milisegundos necesario para que SurfaceControl esté en el umbral.

Atributos

Comentarios

Crea una propiedad TrustedPresentationThresholds que se usa al llamar a Transaction#setTrustedPresentationCallback(SurfaceControl, TrustedPresentationThresholds, Executor, Consumer)

Java documentación para android.view.SurfaceControl.TrustedPresentationThresholds.TrustedPresentationThresholds(float, float, int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a