Instance Method

makeNowPlayingInfoLanguageOptionGroup

Creates a language option group from the media selection group.

Declaration

- (MPNowPlayingInfoLanguageOptionGroup *)makeNowPlayingInfoLanguageOptionGroup;

Return Value

The new language option group.

Discussion

Any option from AVMediaSelectionOption in the AVMediaSelectionGroup not representing an audible or legible selection option is ignored.

See Also

Filtering Selection Options

+ playableMediaSelectionOptionsFromArray:

Returns an array containing the media selection options from a given array that are playable.

+ mediaSelectionOptionsFromArray:withLocale:

Returns an array containing the media selection options from a given array that match the specified locale.

+ mediaSelectionOptionsFromArray:withMediaCharacteristics:

Returns an array containing the media selection options from a given array that match given media characteristics.

+ mediaSelectionOptionsFromArray:withoutMediaCharacteristics:

Returns an array containing the media selection options from a given array that do not match given media characteristics.

+ mediaSelectionOptionsFromArray:filteredAndSortedAccordingToPreferredLanguages:

Returns an array of media selection options, filtering them according to whether their locales match one of the specified languages.