语言

PackageInfo.ConfigPreferences 属性

定义

应用程序指定的首选配置android.R.styleable#AndroidManifestUsesConfiguration <uses-configuration>标记包含在清单>下<,如果没有,则为 null。

[Android.Runtime.Register("configPreferences")]
public System.Collections.Generic.IList<Android.Content.PM.ConfigurationInfo>? ConfigPreferences { get; set; }
[<Android.Runtime.Register("configPreferences")>]
member this.ConfigPreferences : System.Collections.Generic.IList<Android.Content.PM.ConfigurationInfo> with get, set

属性值

当请求配置信息或 null 没有配置信息时返回清单配置首选项。

特性

注解

应用程序指定的首选配置android.R.styleable#AndroidManifestUsesConfiguration <uses-configuration>标记包含在清单>下<,如果没有,则为 null。 仅当设置了标志时,才会填充此标记 PackageManager#GET_CONFIGURATIONS 。

Java文档android.content.pm.PackageInfo.configPreferences。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于