NativePHP
Activity Trace
One tile. One bounded span.
A stateful Quick Settings tile starts and stops a foreground recording that samples motion and location, and hands PHP one buffered span it can turn into calendar history.
- Stateful Quick Settings tile starts and stops the recording
- Foreground service samples motion and location
- PHP receives one buffered span, not a firehose
$trace = ActivityTrace::start();