Contents

shared

The download manager that both the app and the extension share.

Declaration

class var shared: BADownloadManager { get }

Discussion

Because the download manager is a shared resource, use the withExclusiveControl(_:) or withExclusiveControl(beforeDate:perform:) methods to acquire exclusive control of the manager before you use it to access, schedule, or cancel downloads.