Skip to main content

get_screen_time

Function get_screen_time 

Source
pub async fn get_screen_time(
    scheduler: State<'_, Scheduler>,
) -> Result<ScreenTimeState, String>
Expand description

Today’s accumulated screen time + the last-reminder marker. Rolls over to a fresh day if local midnight has passed since the last call.