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 more

    Declaration

    Swift

    public enum Event
  • Specifies which events to monitor.

    See more

    Declaration

    Swift

    public struct Options: OptionSet
  • Initializes a new AccessibilityStatusMonitor.

    Declaration

    Swift

    public init(queue: OperationQueue = .main,
                options: Options = .all,
                handler: @escaping (Event) -> Void)

    Parameters

    queue

    The operation queue on which the handler executes. By default, the main operation queue is used.

    options

    The options that specify which events to monitor. By default, all events are monitored.

    handler

    The handler to call when the status of a system accessibility setting changes.

  • The current hearing device pairing options.

    Declaration

    Swift

    public var hearingDevicePairedEar: UIAccessibilityHearingDeviceEar
  • A Boolean value indicating whether the user has enabled AssistiveTouch in Settings.

    Declaration

    Swift

    public var isAssistiveTouchEnabled: Bool
  • A Boolean value indicating whether the user has enabled Bold Text in Settings.

    Declaration

    Swift

    public var isBoldTextEnabled: Bool
  • A Boolean value indicating whether the user has enabled Closed Captioning in Settings.

    Declaration

    Swift

    public var isClosedCaptioningEnabled: Bool
  • A Boolean value indicating whether the user has enabled Darken Colors in Settings.

    Declaration

    Swift

    public var isDarkenColorsEnabled: Bool
  • A Boolean value indicating whether the user has enabled Grayscale in Settings.

    Declaration

    Swift

    public var isGrayscaleEnabled: Bool
  • A Boolean value indicating whether the user has enabled Guided Access in Settings.

    Declaration

    Swift

    public var isGuidedAccessEnabled: Bool
  • A Boolean value indicating whether the user has enabled Invert Colors in Settings.

    Declaration

    Swift

    public var isInvertColorsEnabled: Bool
  • A Boolean value indicating whether the user has enabled Mono Audio in Settings.

    Declaration

    Swift

    public var isMonoAudioEnabled: Bool
  • A Boolean value indicating whether the user has enabled Reduce Motion in Settings.

    Declaration

    Swift

    public var isReduceMotionEnabled: Bool
  • A Boolean value indicating whether the user has enabled Reduce Transparency in Settings.

    Declaration

    Swift

    public var isReduceTransparencyEnabled: Bool
  • A Boolean value indicating whether the user has enabled Shake to Undo in Settings.

    Declaration

    Swift

    public var isShakeToUndoEnabled: Bool
  • A Boolean value indicating whether the user has enabled Speak Screen in Settings.

    Declaration

    Swift

    public var isSpeakScreenEnabled: Bool
  • A Boolean value indicating whether the user has enabled Speak Selection in Settings.

    Declaration

    Swift

    public var isSpeakSelectionEnabled: Bool
  • A Boolean value indicating whether the user has enabled Switch Control in Settings.

    Declaration

    Swift

    public var isSwitchControlEnabled: Bool
  • A Boolean value indicating whether the user has enabled VoiceOver in Settings.

    Declaration

    Swift

    public var isVoiceOverEnabled: Bool
  • Declaration

    Swift

    public override func addNotificationObservers()