UiModeManager.CustomNightModeStart Property
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.
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
This value cannot be null.
- Attributes
Remarks
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.
Android reference for android.app.UiModeManager.getCustomNightModeStart.
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.