SmartphoneSamplingPackage class abstract

Base class for sampling packages that collect data from the phone itself.

All of them share one SmartphoneDeviceManager. dataTypes is derived from samplingSchemes, and onRegister does nothing; override it if needed.

Inheritance
Implementers

Constructors

SmartphoneSamplingPackage()

Properties

dataTypes → List<DataTypeMetaData>
The data types this package supports.
no setteroverride
deviceManager → DeviceManager<DeviceConfiguration<DeviceRegistration>, DeviceRegistration>
Get the DeviceManager for the device used by this package.
no setteroverride
deviceType → String
The type of device this package collects data from.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
samplingSchemes → DataTypeSamplingSchemeMap
The default sampling schemes for all dataTypes in this package.
no setterinherited

Methods

create(String type) → Probe?
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.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRegister() → void
Called when this package is registered in the SamplingPackageRegistry.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited