TrustedPresentationThresholds 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| 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
必须在阈值内考虑窗口的最小 alpha 值。
- minFractionRendered
- Single
向用户呈现的窗口的最小分数(在阈值内考虑)。
- stabilityRequirementMs
- Int32
窗口处于阈值所需的时间(以毫秒为单位)。
- 特性
注解
创建新的 TrustedPresentationThresholds。
Java文档android.window.TrustedPresentationThresholds.TrustedPresentationThresholds(float, float, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
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
必须在阈值内考虑窗口的最小 alpha 值。
- minFractionRendered
- Single
向用户呈现的窗口的最小分数(在阈值内考虑)。
- stabilityRequirementMs
- Int32
窗口处于阈值所需的时间(以毫秒为单位)。
- signalMode
- TrustedPresentationThresholdsSignalMode
确定何时发出遮挡信号的模式。
- 特性
注解
创建新的 TrustedPresentationThresholds。
Android 参考。android.window.TrustedPresentationThresholds.TrustedPresentationThresholds
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。