AccessibilityStatusMonitor
public class AccessibilityStatusMonitor : BaseNotificationMonitor
An AccessibilityStatusMonitor
instance monitors the system for
changes to the status of various accessibility settings.
-
Encapsulates changes to the status of various system accessibility settings.
See moreDeclaration
Swift
public enum Event
-
Specifies which events to monitor.
See moreDeclaration
Swift
public struct Options : OptionSet
-
Initializes a new
AccessibilityStatusMonitor
.Declaration
Parameters
options
The options that specify which events to monitor. By default, all events are monitored.
queue
The operation queue on which the handler executes. By default, the main operation queue is used.
handler
The handler to call when the status of a system accessibility setting changes.
-
The current hearing device pairing options.
Declaration
Swift
@available(iOS 10.0, *) public var hearingDevicePairedEar: UIAccessibilityHearingDeviceEar { get }
-
A Boolean value indicating whether the user has enabled AssistiveTouch in Settings.
Declaration
Swift
@available(iOS 10.0, tvOS 10.0, *) public var isAssistiveTouchEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Bold Text in Settings.
Declaration
Swift
public var isBoldTextEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Closed Captioning in Settings.
Declaration
Swift
public var isClosedCaptioningEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Darken Colors in Settings.
Declaration
Swift
public var isDarkenColorsEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Grayscale in Settings.
Declaration
Swift
public var isGrayscaleEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Guided Access in Settings.
Declaration
Swift
public var isGuidedAccessEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Invert Colors in Settings.
Declaration
Swift
public var isInvertColorsEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Mono Audio in Settings.
Declaration
Swift
public var isMonoAudioEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Reduce Motion in Settings.
Declaration
Swift
public var isReduceMotionEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Reduce Transparency in Settings.
Declaration
Swift
public var isReduceTransparencyEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Shake to Undo in Settings.
Declaration
Swift
public var isShakeToUndoEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Speak Screen in Settings.
Declaration
Swift
public var isSpeakScreenEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Speak Selection in Settings.
Declaration
Swift
public var isSpeakSelectionEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled Switch Control in Settings.
Declaration
Swift
public var isSwitchControlEnabled: Bool { get }
-
A Boolean value indicating whether the user has enabled VoiceOver in Settings.
Declaration
Swift
public var isVoiceOverEnabled: Bool { get }
-
Declaration
Swift
override public func addNotificationObservers()