A background task used to receive background updates from the Watch Connectivity framework.
- watchOS 3.0+
Do not subclass or create instances of this class. Instead, when this background watch connectivity task is triggered, the system launches your app in the background, instantiates a
WKWatch object, and passes the task object to your extension delegate’s
Background watch connectivity tasks are triggered whenever the paired device sends data using one of the following
The background watch connectivity task informs you that your app has been given background time. You must use your
WCSession methods to receive this data. Because of the asynchronous nature of these tasks, you must defer calling your tasks’s
set method until after you have activated your session and received all the pending data. Use the
has method to determine whether you still have any pending data.