CommunicationSamplingPackage class Null safety

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

Constructors

CommunicationSamplingPackage()

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
deviceManager DeviceManager
Get a DeviceManager for the type of device in this package. [...]
read-only, inherited
deviceType String
What device type is this package using? [...]
read-only, inherited
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. Returns null if a probe cannot be created for this 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

CALENDAR → const String
"dk.cachet.carp.calendar"
PHONE_LOG → const String
"dk.cachet.carp.phone_log"
TELEPHONY → const String
"dk.cachet.carp.telephony"
TEXT_MESSAGE → const String
"dk.cachet.carp.text_message"
TEXT_MESSAGE_LOG → const String
"dk.cachet.carp.text_message_log"