SystemClockMonitor
public class SystemClockMonitor : BaseNotificationMonitor
A SystemClockMonitor instance monitors the system for changes to the
clock.
-
Encapsulates changes to the system clock.
See moreDeclaration
Swift
public enum Event -
Initializes a new
SystemClockMonitor.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 the system clock changes.
-
Declaration
Swift
public override func addNotificationObservers()
View on GitHub
Install in Dash
SystemClockMonitor Class Reference