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)
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。