WKURLSessionRefreshBackgroundTask
E494398
WKURLSessionRefreshBackgroundTask is a WatchKit background task class used to handle URL session-related work, such as processing network transfers, while an Apple Watch app runs in the background.
Statements (27)
| Predicate | Object |
|---|---|
| instanceOf |
WKRefreshBackgroundTask subclass
ⓘ
WatchKit background task class ⓘ |
| availability |
notAvailableOniOS
ⓘ
notAvailableOnmacOS ⓘ notAvailableOntvOS ⓘ |
| completionRequirement | mustCallSetTaskCompletedToAvoidTermination ⓘ |
| conformsTo | NSObject NERFINISHED ⓘ |
| definedIn | WatchKit framework NERFINISHED ⓘ |
| developerDocumentationURL | https://developer.apple.com/documentation/watchkit/wkurlsessionrefreshbackgroundtask ⓘ |
| hasMethod | setTaskCompletedWithSnapshot: ⓘ |
| hasProperty |
sessionIdentifier
ⓘ
urlSession ⓘ |
| inheritsFrom | WKRefreshBackgroundTask NERFINISHED ⓘ |
| introducedIn | watchOS 3 NERFINISHED ⓘ |
| lifecycle | createdBySystemForBackgroundURLSessionEvents ⓘ |
| platform | watchOS NERFINISHED ⓘ |
| relatedTo |
URLSession
ⓘ
URLSessionConfiguration backgroundSessionConfigurationWithIdentifier: ⓘ WKRefreshBackgroundTask NERFINISHED ⓘ |
| requires | background URLSession configuration with shared identifier ⓘ |
| scope | WatchKit extension NERFINISHED ⓘ |
| threading | handled on main thread in extension delegate ⓘ |
| typicalUsage | received in WKExtensionDelegate handle(_ backgroundTasks:) callback ⓘ |
| usedFor |
handling URLSession-related background work
ⓘ
handling background URLSession events on Apple Watch ⓘ processing background network transfers ⓘ resuming background URLSession tasks ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.