allowedSubtitleOptionLanguages
An array of language codes that restrict the set of subtitle languages available to the user.
Declaration
var allowedSubtitleOptionLanguages: [String]? { get set }Discussion
When this property value is nil (the default), the player view controller UI presents all available subtitle options. The Auto subtitle option is only available when this property value is nil and requiresFullSubtitles is false.
To allow only a restricted subset of subtitles, set this property value to an array of BCP 47 language codes. Restricting the set of subtitle languages makes the Auto option unavailable.