MACaptionAppearanceGetDisplayType(_:)
Returns the preferred type of captions to display.
Declaration
func MACaptionAppearanceGetDisplayType(_ domain: MACaptionAppearanceDomain) -> MACaptionAppearanceDisplayTypeParameters
- domain:
The domain to retrieve the preference value from. See Macaptionappearancedomain. Pass User unless the system defaults are needed for comparison.
Return Value
A value representing options to use only forced captions, allow system locale to override the language of the audio track, or choose the best available captioning track from CC, SDH, or subtitles. See MACaptionAppearanceDisplayType.