TextMessageProbe class

The TextMessageProbe listens to SMS messages and collects a TextMessageDatum every time a new SMS message is received.

Only works on Android.

Inheritance
  • Object
  • Probe
  • AbstractProbe
  • StreamProbe
  • TextMessageProbe

Constructors

TextMessageProbe()

Properties

controller ↔ StreamController<Datum>
getter/setter pairinherited
data → Stream<DataPoint>
The stream of DataPoint generated from this probe.
no setterinherited
deviceManager ↔ DeviceManager
The device that this probes uses to collect data.
getter/setter pairinherited
enabled → bool
Is this probe enabled, i.e. available for collection of data using the resume method.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
measure → Measure?
The Measure that configures this probe.
no setterinherited
name → String
A printer-friendly name for this probe.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → ProbeState
The runtime state of this probe.
no setterinherited
stateEvents → Stream<ProbeState>
The runtime state changes of this probe.
no setterinherited
stream → Stream<Datum>
The stream of Datum objects for this StreamProbe. Must be implemented by sub-classes. Can be null if no stream of data is available.
no setteroverride
subscription ↔ StreamSubscription?
getter/setter pairinherited
type → String
The data type this probe is collecting.
no setterinherited

Methods

error() → void
inherited
hasChanged(Measure measure) → void
Callback when this probe's measure has changed.
inherited
initialize(Measure measure) → void
Initialize the probe before starting it.
inherited
mark() → void
Mark the latest sampling
inherited
marking() → void
Get the latest mark
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onData(Datum datum) → void
inherited
onDone() → void
inherited
onError(dynamic error) → void
inherited
onInitialize(Measure measure) → void
Callback for initialization of probe.
override
onPause() → Future
Callback for pausing probe
inherited
onRestart() → Future
Callback for restarting probe
inherited
onResume() → Future
Callback for resuming probe
inherited
onStop() → Future
Callback for stopping probe
inherited
pause() → void
Pause the probe. The probe is paused until resume or restart is called.
inherited
restart() → void
Restart the probe.
inherited
resume() → void
Resume the probe.
inherited
stop() → void
Stop the probe. Once a probe is stopped, it cannot be started again. If you need to restart a probe, use the restart or pause and resume methods.
inherited
toString() → String
A string representation of this object.
inherited
validNextState(ProbeState nextState) → bool
Is ProbeState a valid next state for this probe?
inherited

Operators

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