SurfaceControl.TrustedPresentationThresholds(Single, Single, Int32) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個 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
最小 alpha SurfaceControl 必須在閾值內被考慮。
- minFractionRendered
- Single
SurfaceControl 中呈現給使用者以納入閾值的最小比例。
- stabilityRequirementMs
- Int32
也就是說,進入 SurfaceControl 閾值所需的毫秒。
- 屬性
備註
建立一個 TrustedPresentationThresholds,用於呼叫 Transaction#setTrustedPresentationCallback(SurfaceControl, TrustedPresentationThresholds, Executor, Consumer)
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。