UiModeManager.CustomNightModeEnd Property

Definition

Returns the time of the day Dark theme deactivates -or- Sets the time of the day Dark theme deactivates

public virtual Java.Time.LocalTime CustomNightModeEnd { [Android.Runtime.Register("getCustomNightModeEnd", "()Ljava/time/LocalTime;", "GetGetCustomNightModeEndHandler", ApiSince=30)] get; [Android.Runtime.Register("setCustomNightModeEnd", "(Ljava/time/LocalTime;)V", "GetSetCustomNightModeEnd_Ljava_time_LocalTime_Handler", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getCustomNightModeEnd", "()Ljava/time/LocalTime;", "GetGetCustomNightModeEndHandler", ApiSince=30)>]
[<set: Android.Runtime.Register("setCustomNightModeEnd", "(Ljava/time/LocalTime;)V", "GetSetCustomNightModeEnd_Ljava_time_LocalTime_Handler", ApiSince=30)>]
member this.CustomNightModeEnd : Java.Time.LocalTime with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the time of the day Dark theme deactivates

When night mode is #MODE_NIGHT_CUSTOM, the system uses this time set to deactivate it automatically.

Java documentation for android.app.UiModeManager.getCustomNightModeEnd().

Property setter documentation:

Sets the time of the day Dark theme deactivates

When night mode is #MODE_NIGHT_CUSTOM, the system uses this time set to deactivate it automatically.

Java documentation for android.app.UiModeManager.setCustomNightModeEnd(java.time.LocalTime).

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