MACaptionAppearance Class

Definition

Class that contains static methods and fields for accessing and controlling information about the appearance and language of accessibility features on the device.

public static class MACaptionAppearance
type MACaptionAppearance = class
Inheritance
MACaptionAppearance

Properties

Name Description
ActiveProfileId

Gets or sets the currently active system-wide caption-drawing profile by its identifier.

SettingsChangedNotification

Notification constant for SettingsChanged

Methods

Name Description
AddSelectedLanguage(MACaptionAppearanceDomain, String)
DidDisplayCaptions(NSAttributedString[])
DidDisplayCaptions(String[])
ExecuteCallbackForProfile(String, Action)

Execute a callback as if the specified profile was the currently active profile.

GetBackgroundColor(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
GetBackgroundOpacity(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
GetDisplayType(MACaptionAppearanceDomain)
GetFontDescriptor(MACaptionAppearanceDomain, MACaptionAppearanceBehavior, MACaptionAppearanceFontStyle)
GetForegroundColor(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
GetForegroundOpacity(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
GetPreferredCaptioningMediaCharacteristics(MACaptionAppearanceDomain)
GetProfileIds()

Gets all the system and user-defined profile identifiers.

GetProfileName(String)

Get the human-readable name for a given profile identifier.

GetRelativeCharacterSize(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
GetSelectedLanguages(MACaptionAppearanceDomain)
GetTextEdgeStyle(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
GetWindowColor(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
GetWindowOpacity(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
GetWindowRoundedCornerRadius(MACaptionAppearanceDomain, MACaptionAppearanceBehavior)
IsCustomized(MACaptionAppearanceDomain)

Checks whether the specified style has been customized by the user.

SetDisplayType(MACaptionAppearanceDomain, MACaptionAppearanceDisplayType)

Applies to