语言

AutomaticZenRule.TypeTransit 字段

定义

注意

This constant will be removed in the future version. Use Android.App.AutomaticZenRuleType enum directly instead of this field.

在用户传输期间触发的规则类型,在公共交通(如火车和地铁等)中触发。

[Android.Runtime.Register("TYPE_TRANSIT", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.AutomaticZenRuleType enum directly instead of this field.", true)]
public const Android.App.AutomaticZenRuleType TypeTransit = 8;
[<Android.Runtime.Register("TYPE_TRANSIT", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AutomaticZenRuleType enum directly instead of this field.", true)>]
val mutable TypeTransit : Android.App.AutomaticZenRuleType

字段值

Value = 8

实现

特性

注解

在用户传输期间触发的规则类型,在公共交通(如火车和地铁等)中触发。

Android 参考。android.app.AutomaticZenRule.TYPE_TRANSIT

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

适用于