Monitor

public protocol Monitor

A type that monitors events. What constitutes an event is specific to the implementation.

  • A Boolean value indicating whether monitoring of events specific to the monitor is active (true) or not (false).

    Declaration

    Swift

    var isMonitoring: Bool
  • Starts active monitoring of events specific to the monitor.

    Declaration

    Swift

    func startMonitoring()
  • Stops active monitoring of events specific to the monitor.

    Declaration

    Swift

    func stopMonitoring()