The running states of your Watch app.
SDK
- watchOS 3.0+
Framework
- Watch
Kit
Declaration
typedef enum WKApplicationState : NSInteger {
...
} WKApplicationState;
The running states of your Watch app.
SDK
Framework
typedef enum WKApplicationState : NSInteger {
...
} WKApplicationState;
WKApplication State Active
The Watch app is running in the foreground and currently receiving events.
WKApplication State Inactive
The Watch app is running in the foreground, but is not yet responding to actions from controls or gestures.
WKApplication State Background
The Watch app is running in the background.
application State
The runtime state of the Watch app.
is Application Running In Dock
A Boolean value that indicates whether the app is running in the dock.
frontmost Timeout Extended
A Boolean value that determines whether the app extends its time as the frontmost app.
- schedule Background Refresh With Preferred Date: user Info: scheduled Completion:
Schedules a background task to refresh your app’s data.