Android 12 Developer Preview is here! Try it out, and give us your feedback!

Watch Next attributes

When you add an audio or video program to the Play Next row, you must include the following attributes, in addition to the attributes for audio/video programs:

The following table shows the attributes and links to the corresponding setter in WatchNextProgram.Builder.

Attribute Notes
Watch Next Type Select one of the Watch Next program types:
Last Enagagement Time The time the user/app last engaged with the program.
Last Playback Position Only required for WATCH_NEXT_TYPE_CONTINUE
Duration Only required for WATCH_NEXT_TYPE_CONTINUE