WKRefreshBackgroundTask

E494396

WKRefreshBackgroundTask is a WatchKit API class used to handle and manage background refresh tasks in watchOS apps.

Try in SPARQL Jump to: Statements Referenced by

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

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

WatchKit includesClass WKRefreshBackgroundTask