SamplingPackage class abstract

Interface for a sampling package.

A sampling package provides information on:

  • dataTypes - the data types supported
  • samplingSchemes - the default DataTypeSamplingSchemeMap containing a set of SamplingConfigurations for each data type.
  • deviceType - what type of device this package supports
  • permissions - a list of Permissions needed for this package

It also contains factory methods for:

Implementers

Constructors

SamplingPackage()

Properties

dataTypes List<DataTypeMetaData>
The list of data type this package supports.
no setter
deviceManager DeviceManager<DeviceConfiguration<DeviceRegistration>>
Get the DeviceManager for the device used by this package.
no setter
deviceType String
What device type is this package using?
no setter
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 setter

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRegister() → void
Callback method when this package is being registered.
toString() String
A string representation of this object.
inherited

Operators

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