Events
This class contains built-in and custom events which the library can broadcast to the application. Here is a list of the built-in events:
"Init"
"ConnectionStarted"
"ConnectionSetupComplete"
"Disconnect"
"AlarmDataLoaded"
"NotificationsEnabled"
"NotificationsDisabled"
"WatchInitializationCompleted"
"AllPermissionsAccepted"
"ButtonPressedInfoReceived"
"ConnectionFailed"
"SettingsLoaded"
"NeedToUpdateUI"
"CalendarUpdated"
"HomeTimeUpdated"
"ApiError"
Content copied to clipboard
The App can add their oun arbitrary events like this:
ProgressEvents.addEvent("MyCustomEvent")
Content copied to clipboard