setSleepGoal

open fun setSleepGoal(sleepTimeMinutes: Float, wakeupTimeMinutes: Float)(source)

Sets the sleep goal display on the picker. This will show a visual representation of the sleep goal on the circular seek bar and display the duration of the sleep goal.

Parameters

sleepTimeMinutes

The start time of the sleep goal in minutes from midnight (0-1439).

wakeupTimeMinutes

The end time of the sleep goal in minutes from midnight (0-1439).