MACaptionAppearanceSetDisplayType(_:_:)
Sets the preference for the type of caption.
Declaration
func MACaptionAppearanceSetDisplayType(_ domain: MACaptionAppearanceDomain, _ displayType: MACaptionAppearanceDisplayType)Parameters
- domain:
The domain to retrieve the preference value from. See Macaptionappearancedomain. Pass User unless the system defaults are needed for comparison.
- displayType:
A value representing options to use only forced captions, to allow system locale to override the language of the audio track, or to choose the best available captioning track from CC, SDH, or subtitles. See Macaptionappearancedisplaytype.