语言

Settings.System.GetConfiguration(ContentResolver, Configuration) 方法

定义

方便函数将所有当前配置相关设置读取到对象 Configuration 中。

[Android.Runtime.Register("getConfiguration", "(Landroid/content/ContentResolver;Landroid/content/res/Configuration;)V", "")]
public static void GetConfiguration(Android.Content.ContentResolver? cr, Android.Content.Res.Configuration? outConfig);
[<Android.Runtime.Register("getConfiguration", "(Landroid/content/ContentResolver;Landroid/content/res/Configuration;)V", "")>]
static member GetConfiguration : Android.Content.ContentResolver * Android.Content.Res.Configuration -> unit

参数

cr
ContentResolver

要访问的 ContentResolver。

outConfig
Configuration

放置配置设置的位置。

特性

注解

方便函数将所有当前配置相关设置读取到对象 Configuration 中。

Java文档android.provider.Settings.System.getConfiguration(android.content.ContentResolver, android.content.res.Configuration)。

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

适用于