SleepSessionList · Advanced · Inspector · preview
A runtime-dependent list that reads sleep sessions from Android repositories and exposes an edit entry point.
Android and KMP are declared rendering targets in the contract. Editor scope: Legacy schema.
AI authoring: contract flag not set; excluded from Stage 3 screen generation — no AI contract flag. Actual selection depends on the generation route and research input conditions.
Support and authoring conditions were checked against source on 2026-10-13. Properties, behavior and examples below retain the 2026-09-10 reference snapshot; they do not replace device validation.
Preview and property controls
Start the KMP preview and adjust properties to update the example screen and JSON. Reset the example to restore its initial state.
Usage guidance
Use it for
- Displaying stored sleep start, end, and duration values
Avoid it for
- General time lists
- Screens without the sleep repository
Anatomy and accessibility
-
Sleep duration
-
Start and end times
-
Edit action
-
Give the edit icon an accessible name that identifies the target session.
Props contract
Runtime defaults and example values are different. Properties without a documented default remain explicitly unspecified.
| Key · label | Type · constraints | Required | Runtime default | Example | Support |
|---|---|---|---|---|---|
onEdit · Edit action array (documentation only) | actionArray | No | No documented default | — | Android / KMP |
Binding
This static content component has no default binding.
Supported actions
| Event | Android | KMP Preview | Notes |
|---|---|---|---|
onEdit | Yes | — | Android injects the selected sessionId into bind and dispatches selectSleepSession. The KMP preview only displays mock data and does not execute the edit action. |
Runtime notes
- The KMP preview uses mock data. Real values load in the Android runtime.
- The KMP preview displays three fixed mock sleep sessions.
- Android uses the sleep repository and edit date from user state.
- Preview sessions are not collected study data.
Related components and source
Contract verified: 2026-09-02 · schemaVersion 2.
Based on the reference-site snapshot generated on September 10, 2026. The documentation import date and runtime verification date are separate.