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