TrustedPresentationThresholds 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| TrustedPresentationThresholds(Single, Single, Int32) |
建立一個新的 TrustedPresentationThresholds。 |
| TrustedPresentationThresholds(Single, Single, Int32, TrustedPresentationThresholdsSignalMode) |
建立一個新的 TrustedPresentationThresholds。 |
TrustedPresentationThresholds(Single, Single, Int32)
建立一個新的 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
參數
- minAlpha
- Single
窗口的最小α必須在閾值內考慮。
- minFractionRendered
- Single
顯示給使用者的視窗中最小百分比,該視窗被納入閾值內。
- stabilityRequirementMs
- Int32
窗口進入閾值所需的毫秒。
- 屬性
備註
建立一個新的 TrustedPresentationThresholds。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
TrustedPresentationThresholds(Single, Single, Int32, TrustedPresentationThresholdsSignalMode)
建立一個新的 TrustedPresentationThresholds。
[Android.Runtime.Register(".ctor", "(FFII)V", "", ApiSince=37)]
public TrustedPresentationThresholds(float minAlpha, float minFractionRendered, int stabilityRequirementMs, Android.Window.TrustedPresentationThresholdsSignalMode signalMode);
[<Android.Runtime.Register(".ctor", "(FFII)V", "", ApiSince=37)>]
new Android.Window.TrustedPresentationThresholds : single * single * int * Android.Window.TrustedPresentationThresholdsSignalMode -> Android.Window.TrustedPresentationThresholds
參數
- minAlpha
- Single
窗口的最小α必須在閾值內考慮。
- minFractionRendered
- Single
顯示給使用者的視窗中最小百分比,該視窗被納入閾值內。
- stabilityRequirementMs
- Int32
窗口進入閾值所需的毫秒。
- signalMode
- TrustedPresentationThresholdsSignalMode
決定何時發出阻塞訊號的模式。
- 屬性