setTaskCompleted
TypeScriptsetTaskCompleted(success: boolean): voidSwift declarationfunc setTaskCompleted(success: Bool)class · iOS 13.0+ · SDK 27.1
class BGTasksetTaskCompleted(success: boolean): voidSwift declarationfunc setTaskCompleted(success: Bool)get expirationHandler(): ((() => Promise<void>)) | nullSwift declarationvar expirationHandler: (() -> Void)? { get set }set expirationHandler(value: ((() => void)) | null)Swift declarationvar expirationHandler: (() -> Void)? { get set }get identifier(): stringSwift declarationvar identifier: String { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
BGTask.init()
inherited init: clang: 'init' is unavailable