ILocationButtonSession.ChangeConfiguration(Configuration) 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.
Notifies the remote service of a configuration change.
[Android.Runtime.Register("changeConfiguration", "(Landroid/content/res/Configuration;)V", "GetChangeConfiguration_Landroid_content_res_Configuration_Handler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void ChangeConfiguration(Android.Content.Res.Configuration newConfig);
[<Android.Runtime.Register("changeConfiguration", "(Landroid/content/res/Configuration;)V", "GetChangeConfiguration_Landroid_content_res_Configuration_Handler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member ChangeConfiguration : Android.Content.Res.Configuration -> unit
Parameters
- newConfig
- Configuration
The new configuration.
- Attributes
Remarks
Notifies the remote service of a configuration change.
This should be called when the application's configuration changes, for example, due to a device rotation or a theme change (e.g., light to dark mode).
Android reference for android.app.permissionui.LocationButtonSession.changeConfiguration.
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.