WeatherSamplingPackage
The sampling package for ContextSamplingPackage.WEATHER.
Registered automatically by ContextSamplingPackage. Its WeatherProbe runs on a WeatherService connected device.
- Inheritance
-
- Object
- SamplingPackage
- SmartphoneSamplingPackage
- WeatherSamplingPackage
Constructors
WeatherSamplingPackage
Properties
deviceManager
Get the DeviceManager for the device used by this package.
deviceType
What device type is this package using?
This device type is matched with the DeviceConfiguration.roleName when a PrimaryDeviceConfiguration is deployed on the phone and executed by a SmartphoneStudyController.
Note that it is assumed that a sampling package only supports one type of device.
samplingSchemes
The default sampling schemes for all dataTypes in this package.
All sampling packages should defined a DataTypeSamplingScheme for each data type.
Methods
create
Creates a new Probe of the specified type. Note that type should be one of the dataTypes that this package supports. Returns null if a probe cannot be created for the type.