语言

TrustedPresentationThresholdsSignalMode 枚举

定义

指定如何为 TrustedPresentationThresholds窗口遮挡发出信号。

public enum TrustedPresentationThresholdsSignalMode
type TrustedPresentationThresholdsSignalMode = 
继承
TrustedPresentationThresholdsSignalMode

字段

名称 值 说明
TrustedPresentation 0

基于受信任呈现阈值的信号遮挡。

Android 参考。android.window.TrustedPresentationThresholds.SIGNAL_MODE_TRUSTED_PRESENTATION

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

StrictOcclusion 1

仅当系统确定窗口被真正不透明窗口遮盖时,才会发出信号遮挡。

Android 参考。android.window.TrustedPresentationThresholds.SIGNAL_MODE_STRICT_OCCLUSION

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

注解

将这些值与接受信号模式的构造函数一起使用。 SignalMode 返回所选模式。

TrustedPresentationThresholds.getSignalMode 的 Android 参考。

适用于