言語

SurfaceControl.TrustedPresentationThresholds(Single, Single, Int32) コンストラクター

定義

呼び出し時に使用される TrustedPresentationThresholds を作成します。 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

パラメーター

minAlpha
Single

SurfaceControlの最小アルファは、しきい値内で考慮する必要があります。

minFractionRendered
Single

しきい値内と見なされるユーザーに提示された SurfaceControl の最小比率。

stabilityRequirementMs
Int32

SurfaceControlがしきい値に入るために必要な時間 (ミリ秒単位)。

属性

注釈

呼び出し時に使用される TrustedPresentationThresholds を作成します。 Transaction#setTrustedPresentationCallback(SurfaceControl, TrustedPresentationThresholds, Executor, Consumer)

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象