Initializer

init(languageOptions:defaultLanguageOption:allowEmptySelection:)

Creates a new language option group with the supplied language options.

Declaration

init(languageOptions: [MPNowPlayingInfoLanguageOption], defaultLanguageOption: MPNowPlayingInfoLanguageOption?, allowEmptySelection: Bool)

Parameters

languageOptions

An array containing the language options to be associated with the language option group.

defaultLanguageOption

The default language option for the group. Set this parameter to nil to denote there is no default language option.

allowEmptySelection

A Boolean that indicates if a language option must always be selected for the language option group.

Return Value

A newly created language option group with the passed attributes.