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.
Declaration
Swift
var isMonitoring: Bool { get }
-
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()