IMA SDK for Android では、プレーヤーの再生を開始するかどうかを設定することもできます。
ユーザーの操作が再生が開始されるまで待つかを選択できます。これには
setAdWillAutoPlay()
メソッドを呼び出します。true に設定すると、広告で指定されたものが返されます。
サーバーを自動再生環境に適したものとして選択する必要があります。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-20 UTC。"],[[["The IMA SDK for Android allows you to specify whether your content videos will play continuously, impacting the types of ads returned."],["Use `setContinuousPlayback(true)` when your content videos will autoplay or play in a sequence similar to a TV broadcast."],["Continuous play is independent of ad auto-play, which is controlled using the `setAdWillAutoPlay()` method."],["The table provides guidance on when to use `setContinuousPlayback()` and `setAdWillAutoPlay()` based on your video content's autoplay behavior."]]],[]]