Post

Replies

Boosts

Views

Activity

Reply to technical clarification on sensorkit measurement sampling
Thank you for the clarification that HealthKit and SensorKit use the same underlying sensor but not the same stream! With that in mind, should developers treat the SensorKit ambient light API as an irregular event stream with no guarantees of fixed sampling frequency or completeness? In other words, is it expected that some physical sensor observations may not be exposed through SensorKit due to internal processing, batching, or power-management decisions? Similarly, for HealthKit's HKQuantityTypeIdentifierTimeInDaylight, should developers consider it to be an independently derived metric whose timing and associated "Maximum Light Intensity" values are implementation-dependent, rather than expecting them to correspond directly to any particular subset or aggregation of SensorKit ambient light samples? Lastly, regarding latency, is there any guidance on the expected latency of TimeInDaylight samples becoming available in HealthKit? For example, are they intended to be available shortly after exposure, or only after periodic on-device processing and synchronization? Thank you!
1d
Reply to technical clarification on sensorkit measurement sampling
Thank you for the clarification that HealthKit and SensorKit use the same underlying sensor but not the same stream! With that in mind, should developers treat the SensorKit ambient light API as an irregular event stream with no guarantees of fixed sampling frequency or completeness? In other words, is it expected that some physical sensor observations may not be exposed through SensorKit due to internal processing, batching, or power-management decisions? Similarly, for HealthKit's HKQuantityTypeIdentifierTimeInDaylight, should developers consider it to be an independently derived metric whose timing and associated "Maximum Light Intensity" values are implementation-dependent, rather than expecting them to correspond directly to any particular subset or aggregation of SensorKit ambient light samples? Lastly, regarding latency, is there any guidance on the expected latency of TimeInDaylight samples becoming available in HealthKit? For example, are they intended to be available shortly after exposure, or only after periodic on-device processing and synchronization? Thank you!
Replies
Boosts
Views
Activity
1d