Watch Next 属性
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
[次のおすすめ] 行にオーディオ プログラムや動画プログラムを追加する場合は、オーディオ プログラムと動画プログラムの属性に加えて、次の表の属性を含める必要があります。各属性は、WatchNextProgram.Builder
内の対応するセッターにリンクされています。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 UTC。"],[],[],null,["# Watch Next attributes\n\nWhen you add an audio or video program to the **Play Next** row, you must include\nthe attributes in the following table in addition to the attributes for audio and\nvideo programs. Each attribute is linked to the corresponding setter in\n[`WatchNextProgram.Builder`](/reference/androidx/tvprovider/media/tv/WatchNextProgram.Builder).\n| **Note:** If you are integrating with the client-side [WatchNext API](/reference/androidx/tvprovider/media/tv/WatchNextProgram), you must populate and align the [Internal Provider ID](/reference/androidx/tvprovider/media/tv/WatchNextProgram.Builder#setInternalProviderId(java.lang.String)) with the internal ID you provide in the [Media Actions](https://developers.google.com/actions/media) feed. Doing so helps Android TV reconcile the asset more effectively and provides a high-confidence feature to users.\n\n\u003cbr /\u003e\n\n| Attribute | Notes |\n|--------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Watch Next Type](/reference/androidx/tvprovider/media/tv/WatchNextProgram.Builder#setWatchNextType(int)) | One of: - [`WATCH_NEXT_TYPE_CONTINUE`](/reference/androidx/tvprovider/media/tv/TvContractCompat.WatchNextPrograms#WATCH_NEXT_TYPE_CONTINUE()) - [`WATCH_NEXT_TYPE_NEXT`](/reference/androidx/tvprovider/media/tv/TvContractCompat.WatchNextPrograms#WATCH_NEXT_TYPE_NEXT()) - [`WATCH_NEXT_TYPE_NEW`](/reference/androidx/tvprovider/media/tv/TvContractCompat.WatchNextPrograms#WATCH_NEXT_TYPE_NEW()) - [`WATCH_NEXT_TYPE_WATCHLIST`](/reference/androidx/tvprovider/media/tv/TvContractCompat.WatchNextPrograms#WATCH_NEXT_TYPE_WATCHLIST()) |\n| [Last Enagagement Time](/reference/androidx/tvprovider/media/tv/WatchNextProgram.Builder#setLastEngagementTimeUtcMillis(long)) | The time the user or app last engaged with the program. |\n| [Last Playback Position](/reference/androidx/tvprovider/media/tv/WatchNextProgram.Builder#setLastPlaybackPositionMillis(int)) | Only required for `WATCH_NEXT_TYPE_CONTINUE`. |\n| [Duration](/reference/androidx/tvprovider/media/tv/WatchNextProgram.Builder#setDurationMillis(int)) | Only required for `WATCH_NEXT_TYPE_CONTINUE`. |\n\n\u003cbr /\u003e"]]