Class

MPNowPlayingInfoLanguageOption

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

Declaration

@interface MPNowPlayingInfoLanguageOption : NSObject

Overview

The MPNowPlayingInfoLanguageOption and MPNowPlayingInfoLanguageOptionGroup 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

Retrieving Language Option Properties

displayName

The display name for a language option.

identifier

The unique identifier for the language option.

languageOptionCharacteristics

The characteristics that describe the content of the language option.

languageTag

The abbreviated language code for the language option.

languageOptionType

The type of language option.

MPNowPlayingInfoLanguageOptionType

The language option type used for the now playing item.

Retrieving a Language Option Based on System Preferences

- isAutomaticAudibleLanguageOption

Returns a Boolean value that determines whether to use the best audible language option based on the system preferences.

- isAutomaticLegibleLanguageOption

Returns a Boolean value that determines whether to use the best legible language option based on the system preferences.

Relationships

Inherits From

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.

MPNowPlayingInfoCenter

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

MPNowPlayingInfoLanguageOptionGroup

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

Language Option Characteristic Constants

The constants used to define language characteristics.