BundleResourceRequestMonitor
public class BundleResourceRequestMonitor : BaseNotificationMonitor
A BundleResourceRequestMonitor instance monitors the system to detect if
the amount of available disk space for on-demand resources is getting low.
-
Encapsulates detection of low disk space availability.
See moreDeclaration
Swift
public enum Event -
Initializes a new
BundleResourceRequestMonitor.Declaration
Swift
public init(queue: OperationQueue = .main, handler: @escaping (Event) -> Void)Parameters
queueThe operation queue on which the handler executes. By default, the main operation queue is used.
handlerThe handler to call when low disk space is detected.
-
Declaration
Swift
override public func addNotificationObservers()
View on GitHub
Install in Dash
BundleResourceRequestMonitor Class Reference