SamplingPackage class Null safety

Interface for a sampling package.

A sampling package provides information on sampling:

  • types supported
  • schemas - common and for power aware sampling
  • permissions needed

It also contains factory methods for:

Implementers

Constructors

SamplingPackage()

Properties

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

Operators

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