ES Libraries Documentation

Online documentation:
Home
What Sensor Data?
Collecting Sensor Data
Formatting Sensor Data
Store/Transfer Data
Research
Contributing
Project Github Page

SMS Event

The SMS event sensor captures any SMS events while your app is sensing. If you want to read historical SMS logs, use the SMS Log sensor.

This sensor requires the XX permission. The JSON format for a sample from this sensor is:

{
	"userid":"test-user-id",
	"deviceid":"test-device-id",
	"senseStartTime":"17:23:22:995 30 06 2015 +0100 GMT+01:00",
	"senseStartTimeMillis":1435681402995,
	"dataType":"SMS",
	"contentLength":4,
	"wordCount":1,
	"messageType":"1",
	"eventType":"SMSContentChanged",
	"address":"hash-of-address"
}