Instance Property

extendedLanguageTag

The IETF BCP 47 language tag associated with the option

Declaration

@property(nonatomic, readonly) NSString *extendedLanguageTag;

Discussion

This property may be nil indicating that the underlying media presented when the option is selected carries no language information. This can occur with media formats for which language information is optional, such as HTTP Live Streaming playlists, or that do not accommodate language information in machine-readable form.

Clients that are filtering media selection options by language should be prepared to handle cases in which this value is nil. Further, they should be prepared to handle cases in which an extendedLanguageTag is present but indicates that the language is “undetermined” (a language value of @"und", as defined in ISO 639-2).

See Also

Getting the Language and Locale Settings

displayName

A string suitable for display using the current system locale.

- displayNameWithLocale:

Returns a string suitable for display using the specified locale.

locale

The locale for which the media option was authored.