Class

MPNowPlayingInfoLanguageOptionGroup

A grouped set of language options where only a single language option can be active at a time.

Declaration

class MPNowPlayingInfoLanguageOptionGroup : NSObject

Overview

The MPNowPlayingInfoLanguageOptionGroup and MPNowPlayingInfoLanguageOption classes provide interfaces for setting information about language options; for example audio and subtitles, in the now playing information area.

Topics

Creating a New Language Option Group

Retrieving Language Option Group Information

var allowEmptySelection: Bool

A Boolean value indicating whether selecting a language option in the group is required at all times.

var defaultLanguageOption: MPNowPlayingInfoLanguageOption?

The default language option for the group.

var languageOptions: [MPNowPlayingInfoLanguageOption]

The available language options for the group.

Relationships

Inherits From

Conforms To

See Also

Now Playing Information

Becoming a Now Playable App

Ensure your app is eligible to become the “Now Playing” app by adopting best practices for providing Now Playing Info and registering for Remote Command Center actions.

class MPNowPlayingInfoCenter

An object that you use to set now-playing information for media being played by your app.

class MPNowPlayingInfoLanguageOption

A set of interfaces used to set the language option for the now-playing item.

Language Option Characteristic Constants

The constants used to define language characteristics.