SmartphoneSamplingPackage class Null safety

An abstract class for all sampling packages that run on the phone itself.

Implemented types
Implementers

Constructors

SmartphoneSamplingPackage()

Properties

common SamplingSchema
The default (common) sampling schema for all measures in this package.
read-only, inherited
dataTypes List<String>
The list of data type this package supports.
read-only, inherited
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, inherited
deviceManager DeviceManager
Get a DeviceManager for the type of device in this package. [...]
read-only, override
deviceType String
What device type is this package using? [...]
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, inherited
minimum SamplingSchema
The sampling schema for minimum sampling, when power-aware sampling is enabled. See PowerAwarenessState.
read-only, inherited
normal SamplingSchema
The sampling schema for normal sampling, when power-aware sampling is enabled. See PowerAwarenessState.
read-only, inherited
permissions List<Permission>
The list of permissions that this package need. [...]
read-only, inherited
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.
inherited
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.
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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