Skip to content

Sampling packages

A sampling package is the unit that adds measures to CAMS. Each one declares the measure types it supports and creates a probe for each. CAMS ships two, and the rest are separate packages you add to your app.

File What is in it
domain/services/sampling_package.dart The SamplingPackage interface
runtime/sampling_package_registry.dart The registry
infrastructure/sampling_packages/device/ Built-in: phone information and events
infrastructure/sampling_packages/sensors/ Built-in: motion, light, steps