Android
The timezone sensor keeps track of the user’s current timezone.
Settings
- Aware_Preferences.STATUS_TIMEZONE: true or false to activate or deactivate sensor.
- Aware_Preferences.FREQUENCY_TIMEZONE: how frequently we check the device’s timezone, in seconds – default is 3600 seconds (i.e., 1h).
- TimeZone.ACTION_AWARE_TIMEZONE: new data recorded in provider.
- TimeZone.EXTRA_DATA: the recorded data, as ContentValues.
Timezone Data
Contains the device’s timezone history.
TimeZone_Data.CONTENT_URI
content://com.aware.provider.timezone/timezone
Table field | Field type | Description |
---|---|---|
_id | INTEGER | primary key, auto incremented |
timestamp | REAL | unixtime milliseconds since 1970 |
device_id | TEXT | AWARE device UUID |
timezone | TEXT | the timezone ID string, i.e., “America/Los_Angeles, GMT-08:00” (more) |
iOS
The timezone sensor keeps track of the user’s current timezone.
Timezone Data
Contains the device’s timezone history.
Table field | Field type | Description |
---|---|---|
_id | INTEGER | primary key, auto incremented |
timestamp | REAL | unixtime milliseconds since 1970 |
device_id | TEXT | AWARE device UUID |
timezone | TEXT | the timezone ID string, i.e., “America/Los_Angeles, GMT-08:00” (more) |
Timezone