-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconstants.py
More file actions
30 lines (28 loc) · 816 Bytes
/
constants.py
File metadata and controls
30 lines (28 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ACCURACY_KEY = 'accuracy'
ACTIVE_WIFI_SCAN_KEY = 'activeWifiScan'
ACTIVITY_KEY = 'activity'
ALTITUDE_KEY = 'altitude'
BATTERY_CHARGING_KEY = 'batteryCharging'
DEVICE_TAG_KEY = 'deviceTag'
DEVICE_TIMESTAMP_KEY = 'deviceTimestamp'
FORM_FACTOR_KEY = 'formFactor'
HEADING_KEY = 'heading'
INFERRED_LOCATION = 'inferredLocation'
LAT_KEY = 'lat'
LOCATION_METADATA_KEY = 'locationMetadata'
LON_KEY = 'lon'
LATITUDE_KEY = 'latitudeE7'
LONGITUDE_KEY = 'longitudeE7'
LOCATIONS_KEY = 'locations'
OS_LEVEL_KEY = 'osLevel'
PLACE_ID_KEY = 'placeId'
PLATFORM_TYPE_KEY = 'platformType'
SERVER_TIMESTAMP_KEY = 'serverTimestamp'
SOURCE_KEY = 'source'
TIME_KEY = 'time'
TIMESTAMP_MS_KEY = 'timestamp'
VELOCITY_KEY = 'velocity'
VERTICAL_ACCURACY_KEY = 'verticalAccuracy'
LOCATION_E7 = 1e7
MS_TO_SECONDS = 1000
MS_TO_SECONDS_F = 1000.0