CommunicationSamplingPackage class

This is the base class for this communication sampling package.

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

  SamplingPackageRegistry.register(CommunicationSamplingPackage());
Inheritance
  • Object
  • SmartphoneSamplingPackage
  • CommunicationSamplingPackage

Properties

common → SamplingSchema
The default (common) sampling schema for all measures in this package.
no setteroverride
dataTypes List<String>
The list of data type this package supports.
no setteroverride
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.
no setteroverride
deviceManager → DeviceManager
Get the DeviceManager for the device used by this package.
no setterinherited
deviceType String
What device type is this package using?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
light → SamplingSchema
The sampling schema for light sampling, when power-aware sampling is enabled. See PowerAwarenessState.
no setteroverride
minimum → SamplingSchema
The sampling schema for minimum sampling, when power-aware sampling is enabled. See PowerAwarenessState.
no setteroverride
normal → SamplingSchema
The sampling schema for normal sampling, when power-aware sampling is enabled. See PowerAwarenessState.
no setteroverride
permissions List<Permission>
The list of permissions that this package need.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(String type) → Probe?
Creates a new Probe of the specified type. Returns null if a probe cannot be created for this type.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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

CALENDAR → const String
PHONE_LOG → const String
TEXT_MESSAGE → const String
TEXT_MESSAGE_LOG → const String