ContextSamplingPackage class

This is the base class for this context sampling package.

To use this package, register it in the carp_mobile_sensing package using

  SamplingPackageRegistry.register(ContextSamplingPackage());
Implemented types

Constructors

ContextSamplingPackage()

Properties

common SamplingSchema
The default (common) sampling schema for all measures in this package.
read-only, override
dataTypes List<String>
The list of data type this package supports.
read-only, override
debug SamplingSchema
A debugging sampling schema for all measures in this package. Typically provides very detailed and frequent sampling in order to debug the probes.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
light SamplingSchema
The sampling schema for light sampling, when power-aware sampling is enabled. See PowerAwarenessState.
read-only, override
minimum SamplingSchema
The sampling schema for minimum sampling, when power-aware sampling is enabled. See PowerAwarenessState.
read-only, override
normal SamplingSchema
The sampling schema for normal sampling, when power-aware sampling is enabled. See PowerAwarenessState.
read-only, override
permissions List<Permission>
The list of permissions that this package need. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

create(String type) Probe
Creates a new Probe of the specified type.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onRegister() → void
Callback method when this package is being registered.
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

ACTIVITY → const String
"activity"
AIR_QUALITY → const String
"air_quality"
GEOFENCE → const String
"geofence"
GEOLOCATION → const String
"geolocation"
LOCATION → const String
"location"
MOBILITY → const String
"mobility"
WEATHER → const String
"weather"