Partager via


Context.UiModeService Field

Definition

Use with #getSystemService(String) to retrieve a android.app.UiModeManager for controlling UI modes.

[Android.Runtime.Register("UI_MODE_SERVICE")]
public const string UiModeService;
[<Android.Runtime.Register("UI_MODE_SERVICE")>]
val mutable UiModeService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.app.UiModeManager for controlling UI modes.

Java documentation for android.content.Context.UI_MODE_SERVICE.

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