PackageManager.Synchronous 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.
用于指示给定用户的包限制状态在组件状态更新后将序列化为磁盘的标志参数 #setComponentEnabledSetting(android.content.ComponentName, int, int)
。
[Android.Runtime.Register("SYNCHRONOUS", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.", true)]
public const Android.Content.PM.ComponentEnableOption Synchronous = 2;
[<Android.Runtime.Register("SYNCHRONOUS", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.", true)>]
val mutable Synchronous : Android.Content.PM.ComponentEnableOption
字段值
Value = 2- 属性
注解
用于指示给定用户的包限制状态在组件状态更新后将序列化为磁盘的标志参数 #setComponentEnabledSetting(android.content.ComponentName, int, int)
。 请注意,这是同步磁盘访问,因此应在此后台线程上运行使用此标志的调用。
适用于 . 的 android.content.pm.PackageManager.SYNCHRONOUS
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。