AccessibilityAnnouncementMonitor
public class AccessibilityAnnouncementMonitor : BaseNotificationMonitor
An AccessibilityAnnouncementMonitor
instance monitors the system for
accessibility announcements that VoiceOver has finished outputting.
-
Encapsulates accessibility announcements that VoiceOver has finished outputting.
See moreDeclaration
Swift
public enum Event
-
Encapsulates information associated with an accessibility announcement that VoiceOver has finished outputting.
See moreDeclaration
Swift
public struct Info
-
Initializes a new
AccessibilityAnnouncementMonitor
.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 VoiceOver finishes outputting an announcement.
-
Declaration
Swift
override public func addNotificationObservers()