Article

nowPlayingMenuItem

Displays information about currently playing audio.

Overview

The nowPlayingMenuItem element is used to display information about audio playing in a menuBarTemplate. The nowPlayingMenuItem element automatically appears and disappears from the menu bar as the audio session starts and stops. Here's an example of a menu bar with the now playing information and two menu items.

<menuBar>
   <nowPlayingMenuItem>
      <title>Now Playing Info</title>
   </nowPlayingMenuItem>
   <menuItem>
      <title>Item 1</title>
   <menuItem>
   <menuItem>
      <title>Item 2</title>
   <menuItem>
</menuBar>

Subelement of nowPlayingMenuItem

Elements that Use nowPlayingMenuItem

Topics

Valid TVML Attributes

binding

Associates information in a data item with an element.

prototype

Associates a data item type with an element.

theme

Sets the color scheme for an element.

See Also

Bar Elements

menuBar

Displays menu items along the top of the screen.

menuItem

Displays a label for an item.

segmentBar

Displays a list of segment bar items.

segmentBarHeader

Displays information above a segment bar.

segmentBarItem

Provides titles inside of a segment bar.

tumblerBar

Displays a list of tumblerItem elements.

tumblerItem

Contains title information for a tumbler header.