Dela via


UiModeManager.CustomNightModeStart Property

Definition

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

public virtual Java.Time.LocalTime CustomNightModeStart { [Android.Runtime.Register("getCustomNightModeStart", "()Ljava/time/LocalTime;", "GetGetCustomNightModeStartHandler", ApiSince=30)] get; [Android.Runtime.Register("setCustomNightModeStart", "(Ljava/time/LocalTime;)V", "GetSetCustomNightModeStart_Ljava_time_LocalTime_Handler", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getCustomNightModeStart", "()Ljava/time/LocalTime;", "GetGetCustomNightModeStartHandler", ApiSince=30)>]
[<set: Android.Runtime.Register("setCustomNightModeStart", "(Ljava/time/LocalTime;)V", "GetSetCustomNightModeStart_Ljava_time_LocalTime_Handler", ApiSince=30)>]
member this.CustomNightModeStart : Java.Time.LocalTime with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the time of the day Dark theme activates

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

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

Property setter documentation:

Sets the time of the day Dark theme activates

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

Java documentation for android.app.UiModeManager.setCustomNightModeStart(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