communication library

A library for collecting communication data, from

  • text messages (sms)
  • phone calls

Classes

CalendarDatum
Holds a list of calendar events from the device.
CalendarEvent
A calendar event.
CalendarMeasure
CalendarProbe
A probe collecting calendar entries from the calendar on the phone.
CommunicationSamplingPackage
This is the base class for this communication sampling package.
PhoneCall
Phone call data.
PhoneLogDatum
Holds a phone log, i.e. a list of phone calls made on the device.
PhoneLogProbe
A probe that collects the phone log from this device.
TextMessage
Holds a text messages (SMS).
TextMessageDatum
Holds a single text (SMS) message as a Datum object.
TextMessageLogDatum
Holds a list of text (SMS) messages from the device.
TextMessageLogProbe
A probe that collects a complete list of all text (SMS) messages from this device. Combines both send and recieved messages.
TextMessageProbe
The TextMessageProbe listens to SMS messages and collects a TextMessageDatum every time a new SMS message is received.

Functions

backgrounMessageHandler(SmsMessage message) → dynamic
The top-level call-back method for handling in-coming SMS messages when the app is in the background.
calendarAnoymizer(Datum datum) → Datum
A CalendarDatum anonymizer function. Anonymizes each CalendarEvent entry in the calendar using the calendarEventAnoymizer function.
calendarEventAnoymizer(CalendarEvent event) CalendarEvent
A CalendarEvent anonymizer function. Anonymizes:
phoneCallAnoymizer(PhoneCall call) PhoneCall
A PhoneCall anonymizer function. Anonymizes:
phoneLogAnoymizer(Datum datum) → Datum
A PhoneLogDatum anonymizer function. Anonymizes each PhoneCall entry in the log using the phoneCallAnoymizer function.
textMessageAnoymizer(TextMessage msg) TextMessage
A TextMessage anonymizer function. Anonymizes:
textMessageDatumAnoymizer(Datum datum) → Datum
A TextMessageDatum anonymizer function. Anonymizes the TextMessage using the textMessageAnoymizer function.
textMessageLogAnoymizer(Datum datum) → Datum
A TextMessageLogDatum anonymizer function. Anonymizes each TextMessageDatum entry in the log using the textMessageAnoymizer function.