Entracte (TypeScript)
    Preparing search index...
    • Poll the daily screen-time counter every 30 seconds while active is true (the Schedule tab's "Daily screen time" section is mounted with the feature enabled). Returns null until the first response lands or when polling is disabled.

      Parameters

      • active: boolean

      Returns ScreenTimeState | null