sampling_packages/device/device library

A library containing a sampling package for collecting information from the device hardware:

  • device info
  • battery
  • screen
  • free memory

Classes

BatteryDatum
A Datum that holds battery level collected from the phone.
BatteryProbe
The BatteryProbe listens to the hardware battery and collect a BatteryDatum every time the battery state changes. For example, battery level or charging mode.
DeviceDatum
Holds basic information about the mobile device from where the data is collected.
DeviceProbe
A probe that collects the device info about this device.
DeviceSamplingPackage
FreeMemoryDatum
Holds information about free memory on the phone.
MemoryProbe
A probe that collects free virtual memory on a regular basis as specified in PeriodicMeasure.frequency.
ScreenDatum
Holds a screen event collected from the phone.
ScreenProbe
A probe collecting screen events:
TimezoneDatum
Holds timezone information about the mobile device.
TimezoneProbe
A probe that collects the device's current timezone.