WKRefreshBackgroundTask
E494396
WKRefreshBackgroundTask is a WatchKit API class used to handle and manage background refresh tasks in watchOS apps.
All labels observed (1)
| Label | Occurrences |
|---|---|
| WKRefreshBackgroundTask canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T5100910 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: WKRefreshBackgroundTask Context triple: [WatchKit, includesClass, WKRefreshBackgroundTask]
-
A.
Background Sync API
The Background Sync API is a web platform feature that lets web applications defer actions like network requests until the user has a stable internet connection, enabling more reliable offline-capable experiences.
-
B.
Grand Central Dispatch
Grand Central Dispatch is Apple's low-level concurrency and task scheduling framework used to efficiently manage parallel execution of code on macOS, iOS, and other Darwin-based systems.
-
C.
URLSession
URLSession is Apple’s networking API for performing HTTP and other URL-based data transfers in iOS, macOS, and related platforms.
-
D.
HealthKit framework
HealthKit framework is an Apple software framework that enables apps to securely access, store, and share users’ health and fitness data on iOS devices.
-
E.
NSAutoreleasePool
NSAutoreleasePool is an Objective-C Foundation class that manages the deferred release of objects in manual reference-counted memory management.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: WKRefreshBackgroundTask Target entity description: WKRefreshBackgroundTask is a WatchKit API class used to handle and manage background refresh tasks in watchOS apps.
-
A.
Background Sync API
The Background Sync API is a web platform feature that lets web applications defer actions like network requests until the user has a stable internet connection, enabling more reliable offline-capable experiences.
-
B.
Grand Central Dispatch
Grand Central Dispatch is Apple's low-level concurrency and task scheduling framework used to efficiently manage parallel execution of code on macOS, iOS, and other Darwin-based systems.
-
C.
URLSession
URLSession is Apple’s networking API for performing HTTP and other URL-based data transfers in iOS, macOS, and related platforms.
-
D.
HealthKit framework
HealthKit framework is an Apple software framework that enables apps to securely access, store, and share users’ health and fitness data on iOS devices.
-
E.
NSAutoreleasePool
NSAutoreleasePool is an Objective-C Foundation class that manages the deferred release of objects in manual reference-counted memory management.
- F. None of above. chosen
Statements (44)
| Predicate | Object |
|---|---|
| instanceOf |
WatchKit class
ⓘ
background task type ⓘ |
| availableOn | watchOS 3 or later ⓘ |
| behaviorOnTimeout | system calls expiration handler if not completed in time ⓘ |
| category | background execution ⓘ |
| completionEffect | signals to system that background refresh is done ⓘ |
| conformsTo | WKIdentifiable NERFINISHED ⓘ |
| constraint |
execution time limited by watchOS
ⓘ
no direct UI updates while app is not active ⓘ |
| declaredIn | WatchKit.WKRefreshBackgroundTask NERFINISHED ⓘ |
| definedInFramework | WatchKit NERFINISHED ⓘ |
| deliveredTo | WKExtensionDelegate NERFINISHED ⓘ |
| documentationURL | https://developer.apple.com/documentation/watchkit/wkrefreshbackgroundtask ⓘ |
| handledInMethod |
handle(_ backgroundTasks: Set<WKBackgroundTask>)
ⓘ
handle(_ backgroundTasks: Set<WKRefreshBackgroundTask>) (older signatures) ⓘ |
| hasMethod |
setTaskCompleted()
ⓘ
setTaskCompletedWithSnapshot(_:) (Swift 2-era API) ⓘ |
| hasProperty |
expirationHandler (inherited from WKBackgroundTask)
ⓘ
isUserInitiated (inherited from WKBackgroundTask) ⓘ |
| inheritsFrom | WKBackgroundTask NERFINISHED ⓘ |
| introducedIn | watchOS 3 NERFINISHED ⓘ |
| isAbstract | false ⓘ |
| languageBindings |
Objective-C
NERFINISHED
ⓘ
Swift NERFINISHED ⓘ |
| lifecycle | createdBySystem ⓘ |
| module | WatchKit NERFINISHED ⓘ |
| namespace | Apple WatchKit API NERFINISHED ⓘ |
| ownership | managed by system, not created directly by apps ⓘ |
| platform | watchOS NERFINISHED ⓘ |
| purpose | handle background refresh tasks in watchOS apps ⓘ |
| relatedTo |
WKApplicationRefreshBackgroundTask
NERFINISHED
ⓘ
WKSnapshotRefreshBackgroundTask NERFINISHED ⓘ WKURLSessionRefreshBackgroundTask NERFINISHED ⓘ |
| requires |
background modes configuration for certain update types
ⓘ
calling setTaskCompleted() when work is finished ⓘ |
| threading | typically handled on main thread ⓘ |
| type | class ⓘ |
| usedFor |
performing small, time-limited background work
ⓘ
refreshing app data while not in foreground ⓘ refreshing complication data ⓘ scheduling periodic background updates ⓘ updating app content in the background ⓘ |
| usedWith |
WKExtension
NERFINISHED
ⓘ
WKExtensionDelegate NERFINISHED ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: WKRefreshBackgroundTask Description of subject: WKRefreshBackgroundTask is a WatchKit API class used to handle and manage background refresh tasks in watchOS apps.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.