You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes:\nM README.md\n\nNotes:\n- Updated implementation, tests, and/or README formatting for this package.\n- agent, ai, and context packages are intentionally excluded.
+`label: String`: Label for the data. (default = `""`)
43
+
+`deviceId: String`: Id of the device that will be associated with the events and the sensor. (default = `""`)
44
+
+`dbEncryptionKey: String?`: Encryption key for the database. (default = `nil`)
45
+
+`dbType: DatabaseType`: Which db engine to use for saving data. (default = `.none`)
46
+
+`dbPath: String`: Path of the database. (default = `"aware_timezone"`)
47
+
+`dbHost: String?`: Host for syncing the database. (default = `nil`)
48
48
49
49
## Broadcasts
50
50
51
-
+`TimezoneSensor.ACTION_AWARE_TIMEZONE` broadcasted when there is new timezone information. Extra includes `TimezoneSensor.EXTRA_DATA` for the new timezone.
51
+
+`TimezoneSensor.ACTION_AWARE_TIMEZONE`: broadcasted when there is new timezone information. Extra includes `TimezoneSensor.EXTRA_DATA` for the new timezone.
52
52
53
53
## Data Representations
54
54
@@ -64,10 +64,10 @@ Class to hold the configuration of the sensor.
64
64
| os | String | Operating system of the device (ex. ios) |
65
65
| jsonVersion | Int | JSON schema version |
66
66
67
-
## Example usage
67
+
## Example Usage
68
68
69
69
```swift
70
-
let timezoneSensor = TimezoneSensor.init(TimezoneSensor.Config().apply{ config in
70
+
let timezoneSensor = TimezoneSensor.init(TimezoneSensor.Config().apply{ config in
0 commit comments