Android.App.UiModeManager.NightMode Property
Returns the currently configured night mode.

Syntax

[get: Android.Runtime.Register("getNightMode", "()I", "GetGetNightModeHandler")]
[set: Android.Runtime.Register("setNightMode", "(I)V", "GetSetNightMode_IHandler")]
public virtual UiNightMode NightMode { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the currently configured night mode.

Set method documentation [Android Documentation]

Sets the night mode. Changes to the night mode are only effective when the car or desk mode is enabled on a device. The mode can be one of:

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8