Resources.UpdateConfiguration(Configuration, DisplayMetrics) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Store the newly updated configuration.
[Android.Runtime.Register("updateConfiguration", "(Landroid/content/res/Configuration;Landroid/util/DisplayMetrics;)V", "GetUpdateConfiguration_Landroid_content_res_Configuration_Landroid_util_DisplayMetrics_Handler")]
public virtual void UpdateConfiguration (Android.Content.Res.Configuration? config, Android.Util.DisplayMetrics? metrics);
[<Android.Runtime.Register("updateConfiguration", "(Landroid/content/res/Configuration;Landroid/util/DisplayMetrics;)V", "GetUpdateConfiguration_Landroid_content_res_Configuration_Landroid_util_DisplayMetrics_Handler")>]
abstract member UpdateConfiguration : Android.Content.Res.Configuration * Android.Util.DisplayMetrics -> unit
override this.UpdateConfiguration : Android.Content.Res.Configuration * Android.Util.DisplayMetrics -> unit
Parameters
- config
- Configuration
- metrics
- DisplayMetrics
- Attributes
Remarks
Store the newly updated configuration.
This member is deprecated. See android.content.Context#createConfigurationContext(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.