メディア セッション バリデータ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Media Session Validator は、Android TV アプリと Media Session の統合を簡単に自動的に検証できるツールです。また、Android TV アプリで Cast Connect をサポートするための前提条件も確認されます。
APK のダウンロードとインストール
Android TV デバイスで Android Debug Bridge(adb)デバッグを有効にしてデバイスに接続し、APK をインストールします。
最終更新日: 2021 年 6 月 21 日
メディア セッション バリデータ APK をダウンロードする
手順
Media Session Validator の通知へのアクセス権限を有効にします。
[設定] > [アプリ] > [特別なアプリアクセス] > [通知へのアクセス] > [メディア セッション バリデータ] に移動します。
Media Session Validator を開き、[検証を開始] を選択します。

Android TV のホーム画面に戻り、メディアアプリを開きます。
アプリからメディア コンテンツを選択し、再生を開始します。
バリデータはテストを開始し、メディア コマンドを自動的に実行します。

検証ツールがテストを完了したら、Media Session Validator アプリに戻って結果を確認します。
[検証結果を確認] を選択し、アプリを選択して結果画面を開きます。

結果画面に、説明付きのテストケースのリストが表示されます。

失敗または警告のテストケースがある場合は、説明を確認し、アプリの問題を修正してから、検証を再度実行します。
テスト結果を確認または共有するには、ADB を使用して検証レポートをダウンロードすることもできます。

特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[[["\u003cp\u003eMedia Session Validator is a tool used to ensure your Android TV app correctly integrates with Media Session and meets the requirements for Cast Connect support.\u003c/p\u003e\n"],["\u003cp\u003eTo use the tool, download and install the Media Session Validator APK, enable Notification Access for it, and then initiate validation within the app.\u003c/p\u003e\n"],["\u003cp\u003eWhile your media app plays content, the validator automatically tests media commands and provides a detailed report on the results.\u003c/p\u003e\n"],["\u003cp\u003eAfter the validation process, you can review the results within the app, addressing any failed or warning test cases in your app's code.\u003c/p\u003e\n"],["\u003cp\u003eFor further analysis or sharing, you can download a comprehensive validation report using ADB.\u003c/p\u003e\n"]]],[],null,["# Media Session Validator is a tool that provides an easy and automated way\nto verify your Android TV application integration with Media Session. This also\nverifies the [prerequisites](/cast/docs/android_tv_receiver/core_features#android_tv_app%E2%80%94prerequisites)\nof supporting Cast Connect in your Android TV application.\n\nDownloading and Installing APK\n------------------------------\n\nEnable [Android Debug Bridge (adb)](https://developer.android.com/studio/command-line/adb#Enabling)\ndebugging on your Android TV device, connect to the device, and\n[install the APK](https://developer.android.com/studio/command-line/adb#move).\n\n**Last updated: June 21, 2021**\n\n[Download the Media Session Validator APK](/static/cast/docs/android_tv_receiver/mediasession-validator-1.1-20210621.apk)\n\nInstructions\n------------\n\n1. Enable **Notification Access** permission for Media Session Validator.\n\n Go to: **Settings \\\u003e Apps \\\u003e Special app access \\\u003e\n Notification access \\\u003e Media Session Validator**\n2. Open the Media Session Validator and select **Start Validation**:\n\n3. Return to the Android TV home screen and open a media app.\n\n4. Select any media content from the app and start playback.\n\n5. The validator should start testing and execute media commands automatically:\n\n6. After the validator finishes testing, go back to the Media Session Validator\n app to check the results.\n\n7. Select **Check Validation Results** and select an app to open the result screen:\n\n8. The result screen displays a list of test cases with descriptions:\n\n9. If you see any fail or warning test cases, review the description and\n fix any issues in your app, then run the validation again.\n\n10. To review or share the test results, you can also download the validation\n report via ADB:"]]