Skip to content

TextMessageLogProbe

Collects all text (SMS) messages on this device as TextMessageLog data.

Used for the CommunicationSamplingPackage.TEXT_MESSAGE_LOG measure. Combines the inbox and sent messages. It does not filter on the HistoricSamplingConfiguration period, so each run returns the full log.

Only works on Android.

Inheritance

Constructors

TextMessageLogProbe

TextMessageLogProbe()

Constants

ALL_SMS_COLUMNS

List<SmsColumn> const ALL_SMS_COLUMNS

The SMS columns read from the inbox and sent messages.

Properties

col

SmsColumn? col
getter/setter pair

Not used.

Methods

getMeasurement

Future<Measurement> getMeasurement()
override

Subclasses should implement this method to collect a Measurement.

Can return null if no data is available. Can return an Error measurement if an error occurs.