Skip to content

PhoneLogProbe

Collects the phone call log from this device as PhoneLog data.

Used for the CommunicationSamplingPackage.PHONE_LOG measure. The period starts at the last time this probe collected data or, the first time, at HistoricSamplingConfiguration.past before now. The period ends now.

Only works on Android.

Inheritance

Constructors

PhoneLogProbe

PhoneLogProbe()

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.