次の方法で共有


Settings.System.GetConfiguration(ContentResolver, Configuration) Method

Definition

Convenience function to read all of the current configuration-related settings into a Configuration object.

[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

Parameters

cr
ContentResolver

The ContentResolver to access.

outConfig
Configuration

Where to place the configuration settings.

Attributes

Remarks

Convenience function to read all of the current configuration-related settings into a Configuration object.

Java documentation for android.provider.Settings.System.getConfiguration(android.content.ContentResolver, android.content.res.Configuration).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to