sampling_packages/device/device library

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

  • device info
  • battery status
  • screen events
  • free memory
  • time zone

Classes

BatteryProbe
The BatteryProbe listens to the hardware battery and collect a BatteryState every time the battery state changes. For example, battery level or charging mode.
BatteryState
Holds battery level and charging status collected from the phone.
DeviceInformation
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
FreeMemory
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.
ScreenEvent
Holds a screen event collected from the phone.
ScreenProbe
A probe collecting screen events:
Timezone
Holds timezone information about the mobile device.
TimezoneProbe
A probe that collects the device's current timezone.