語言

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)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於