Migrate phone apps notifications sensor to new data stream
parent
b49dab0949
commit
091f9c048a
|
@ -163,6 +163,33 @@ Stream columns named `FLAG_TO_MUTATE` means they are extracted based on the `MUT
|
|||
|
||||
This sensor is not supported by iOS devices.
|
||||
|
||||
??? info "PHONE_APPLICATIONS_NOTIFICATIONS"
|
||||
|
||||
=== "ANDROID"
|
||||
|
||||
**RAPIDS_COLUMN_MAPPINGS**
|
||||
|
||||
| RAPIDS column | Stream column |
|
||||
|--------------------|--------------------|
|
||||
| TIMESTAMP | timestamp |
|
||||
| DEVICE_ID | device_id |
|
||||
| PACKAGE_NAME | package_name |
|
||||
| APPLICATION_NAME | application_name |
|
||||
| TEXT | text |
|
||||
| SOUND | sound |
|
||||
| VIBRATE | vibrate |
|
||||
| DEFAULTS | defaults |
|
||||
| FLAGS | flags |
|
||||
|
||||
**MUTATION**
|
||||
|
||||
- **COLUMN_MAPPINGS** (None)
|
||||
- **SCRIPTS** (None)
|
||||
|
||||
=== "IOS"
|
||||
|
||||
This sensor is not supported by iOS devices.
|
||||
|
||||
??? info "PHONE_BATTERY"
|
||||
|
||||
=== "ANDROID"
|
||||
|
|
|
@ -50,6 +50,21 @@ This is a description of the format RAPIDS needs to process data for the followi
|
|||
| IS_SYSTEM_APP | Device’s pre-installed application |
|
||||
|
||||
|
||||
??? info "PHONE_APPLICATIONS_NOTIFICATIONS"
|
||||
|
||||
| RAPIDS column | Description |
|
||||
|--------------------|---------------------------------------------------------------------------|
|
||||
| TIMESTAMP | An UNIX timestamp (13 digits) when a row of data was logged |
|
||||
| DEVICE_ID | A string that uniquely identifies a device |
|
||||
| PACKAGE_NAME | Application’s package name |
|
||||
| APPLICATION_NAME | Application’s localized name |
|
||||
| TEXT | Notification’s header text, not the content |
|
||||
| SOUND | Notification’s sound source (if applicable) |
|
||||
| VIBRATE | Notification’s vibration pattern (if applicable) |
|
||||
| DEFAULTS | If notification was delivered according to device’s default settings |
|
||||
| FLAGS | An integer that denotes [Android notification flag](https://developer.android.com/reference/android/app/Notification.html) |
|
||||
|
||||
|
||||
??? info "PHONE_BATTERY"
|
||||
|
||||
| RAPIDS column | Description |
|
||||
|
|
|
@ -73,6 +73,22 @@ PHONE_APPLICATIONS_FOREGROUND:
|
|||
COLUMN_MAPPINGS:
|
||||
SCRIPTS: # List any python or r scripts that mutate your raw data
|
||||
|
||||
PHONE_APPLICATIONS_NOTIFICATIONS:
|
||||
ANDROID:
|
||||
RAPIDS_COLUMN_MAPPINGS:
|
||||
TIMESTAMP: timestamp
|
||||
DEVICE_ID: device_id
|
||||
PACKAGE_NAME: package_name
|
||||
APPLICATION_NAME: application_name
|
||||
TEXT: text
|
||||
SOUND: sound
|
||||
VIBRATE: vibrate
|
||||
DEFAULTS: defaults
|
||||
FLAGS: flags
|
||||
MUTATION:
|
||||
COLUMN_MAPPINGS:
|
||||
SCRIPTS: # List any python or r scripts that mutate your raw data
|
||||
|
||||
PHONE_BATTERY:
|
||||
ANDROID:
|
||||
RAPIDS_COLUMN_MAPPINGS:
|
||||
|
|
|
@ -30,6 +30,17 @@ PHONE_APPLICATIONS_FOREGROUND:
|
|||
- APPLICATION_NAME
|
||||
- IS_SYSTEM_APP
|
||||
|
||||
PHONE_APPLICATIONS_NOTIFICATIONS:
|
||||
- TIMESTAMP
|
||||
- DEVICE_ID
|
||||
- PACKAGE_NAME
|
||||
- APPLICATION_NAME
|
||||
- TEXT
|
||||
- SOUND
|
||||
- VIBRATE
|
||||
- DEFAULTS
|
||||
- FLAGS
|
||||
|
||||
PHONE_BATTERY:
|
||||
- TIMESTAMP
|
||||
- DEVICE_ID
|
||||
|
|
Loading…
Reference in New Issue