Screen device metric count types

Types of metric counts for devices.

Synopsis:

#include <screen/screen.h>
 
 enum {
      SCREEN_DEVICE_METRIC_EVENT_COUNT = 0   
      SCREEN_DEVICE_METRIC_POWER_ON_COUNT = 1   
};

Data:

SCREEN_DEVICE_METRIC_EVENT_COUNT
The number of input events generated by the device since the last time Screen device metric count types were queried.
SCREEN_DEVICE_METRIC_POWER_ON_COUNT
The number of times that the device has been powered on since the last time Screen device metrics were queried.

Library:

libscreen

Description:

The metrics are on a per device basis and the counts are reset after being queried. That is, the counts are reset to 0 after you call screen_get_device_property_llv() to retrieve SCREEN_PROPERTY_METRICS.