AccessibilityElementMonitor
public class AccessibilityElementMonitor : BaseNotificationMonitor
An AccessibilityElementMonitor instance monitors the system for
changes to element focus by an assistive technology.
-
Encapsulates changes to element focus by an assistive technology.
See moreDeclaration
Swift
public enum Event -
Encapsulates information associated with an element focus change by an assistive technology.
See moreDeclaration
Swift
public struct Info -
Initializes a new
AccessibilityElementMonitor.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 an assistive technology changes element focus.
-
Declaration
Swift
override public func addNotificationObservers()
View on GitHub
Install in Dash
AccessibilityElementMonitor Class Reference