Contents

nowPlayingTemplateUpNextButtonTapped(_:)

Tells the observer that the user tapped the Up Next button.

Declaration

optional func nowPlayingTemplateUpNextButtonTapped(_ nowPlayingTemplate: CPNowPlayingTemplate)

Parameters

  • nowPlayingTemplate:

    The template that contains the button that the user tapped.

Discussion

When CarPlay calls this method on your observer, you should push an instance of CPListTemplate—other template types are not supported when Now Playing is the visible template—on to your navigation stack that displays a list of upcoming or queued content.

See Also

Responding to User Interactions