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 more

    Declaration

    Swift

    public enum Event
  • Initializes a new BundleResourceRequestMonitor.

    Declaration

    Swift

    public init(queue: OperationQueue = .main,
                handler: @escaping (Event) -> Void)

    Parameters

    queue

    The operation queue on which the handler executes. By default, the main operation queue is used.

    handler

    The handler to call when low disk space is detected.

  • Declaration

    Swift

    override public func addNotificationObservers()