TextMessageProbe
Collects a TextMessage every time this device receives an SMS message.
Used for the CommunicationSamplingPackage.TEXT_MESSAGE measure. Starts listening on onResume, both in the foreground and in the background (via backgroundMessageHandler).
Only works on Android.
- Inheritance
-
- Object
- AbstractExecutor<
Measure> - Probe
- StreamProbe
- TextMessageProbe
Constructors
TextMessageProbe
Properties
stream
override
The stream of Measurement objects for this StreamProbe. Must be implemented by sub-classes.
Methods
onResume
Callback when this executor is resumed. Returns true if successfully resumed, false otherwise.