Android
The screen sensor monitors the screen statuses, such as turning on and off, locked and unlocked.
Settings
- Aware_Preferences.STATUS_SCREEN: true or false to activate or deactivate sensor.

- Screen.ACTION_AWARE_SCREEN_ON: broadcasted when the screen is on.
- Screen.ACTION_AWARE_SCREEN_OFF: broadcasted when the screen is off.
- Screen.ACTION_AWARE_SCREEN_LOCKED: broadcasted when the screen is locked.
- Screen.ACTION_AWARE_SCREEN_UNLOCKED: broadcasted when the screen is unlocked.

Screen Data
Contains the screen statuses data.
Screen_Data.CONTENT_URI
content://com.aware.provider.screen/screen
| Table field | Field type | Description |
|---|---|---|
| _id | INTEGER | primary key, auto incremented |
| timestamp | REAL | unixtime milliseconds since 1970 |
| device_id | TEXT | AWARE device UUID |
| screen_status | INTEGER | screen status, one of the following: 0=off, 1=on, 2=locked, 3=unlocked |
iOS
The screen sensor monitors the screen statuses, such as turning on and off, locked and unlocked.
- Screen.ACTION_AWARE_SCREEN_ON: broadcasted when the screen is on.
- Screen.ACTION_AWARE_SCREEN_OFF: broadcasted when the screen is off.
- Screen.ACTION_AWARE_SCREEN_LOCKED: broadcasted when the screen is locked.
- Screen.ACTION_AWARE_SCREEN_UNLOCKED: broadcasted when the screen is unlocked.
Screen Data
Contains the screen statuses data.
| Table field | Field type | Description |
|---|---|---|
| _id | INTEGER | primary key, auto incremented |
| timestamp | REAL | unixtime milliseconds since 1970 |
| device_id | TEXT | AWARE device UUID |
| screen_status | INTEGER | screen status, one of the following: 0=off, 1=on, 2=locked, 3=unlocked |
Screen