Documentation Archive Developer
Search

MediaAccessibility Changes for Swift

MediaAccessibility

Declaration
From
let kMAAudibleMediaSettingsChangedNotification: CFString!
To
let kMAAudibleMediaSettingsChangedNotification: CFString

Declaration
From
let kMACaptionAppearanceSettingsChangedNotification: CFString!
To
let kMACaptionAppearanceSettingsChangedNotification: CFString

Declaration
From
func MAAudibleMediaCopyPreferredCharacteristics() -> Unmanaged<CFArray>!
To
func MAAudibleMediaCopyPreferredCharacteristics() -> Unmanaged<CFArray>

Declaration
From
func MACaptionAppearanceAddSelectedLanguage(_ domain: MACaptionAppearanceDomain, _ language: CFString!) -> Bool
To
func MACaptionAppearanceAddSelectedLanguage(_ domain: MACaptionAppearanceDomain, _ language: CFString) -> Bool

Declaration
From
func MACaptionAppearanceCopyBackgroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor>!
To
func MACaptionAppearanceCopyBackgroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor>

Declaration
From
func MACaptionAppearanceCopyFontDescriptorForStyle(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>, _ fontStyle: MACaptionAppearanceFontStyle) -> Unmanaged<CTFontDescriptor>!
To
func MACaptionAppearanceCopyFontDescriptorForStyle(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>, _ fontStyle: MACaptionAppearanceFontStyle) -> Unmanaged<CTFontDescriptor>

Declaration
From
func MACaptionAppearanceCopyForegroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor>!
To
func MACaptionAppearanceCopyForegroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor>

Declaration
From
func MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics(_ domain: MACaptionAppearanceDomain) -> Unmanaged<CFArray>!
To
func MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics(_ domain: MACaptionAppearanceDomain) -> Unmanaged<CFArray>

Declaration
From
func MACaptionAppearanceCopySelectedLanguages(_ domain: MACaptionAppearanceDomain) -> Unmanaged<CFArray>!
To
func MACaptionAppearanceCopySelectedLanguages(_ domain: MACaptionAppearanceDomain) -> Unmanaged<CFArray>

Declaration
From
func MACaptionAppearanceCopyWindowColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor>!
To
func MACaptionAppearanceCopyWindowColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor>

Declaration
From
let MAMediaCharacteristicDescribesMusicAndSoundForAccessibility: CFString!
To
let MAMediaCharacteristicDescribesMusicAndSoundForAccessibility: CFString

Declaration
From
let MAMediaCharacteristicDescribesVideoForAccessibility: CFString!
To
let MAMediaCharacteristicDescribesVideoForAccessibility: CFString

Declaration
From
let MAMediaCharacteristicTranscribesSpokenDialogForAccessibility: CFString!
To
let MAMediaCharacteristicTranscribesSpokenDialogForAccessibility: CFString