Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.VideoOptions
Options for controlling video playback in supported ad formats.
Summary
Public attributes
|
ClickToExpandRequested
|
bool
Indicates whether the requested video should have the click to expand behavior.
|
CustomControlsRequested
|
bool
Indicates whether the requested video should have custom controls enabled for play/pause/mute/unmute.
|
StartMuted
|
bool
Indicates whether videos should start muted.
|
Public attributes
ClickToExpandRequested
bool ClickToExpandRequested
Indicates whether the requested video should have the click to expand behavior.
CustomControlsRequested
bool CustomControlsRequested
Indicates whether the requested video should have custom controls enabled for play/pause/mute/unmute.
StartMuted
bool StartMuted
Indicates whether videos should start muted.
Public functions
VideoOptions
VideoOptions()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-18 UTC."],[[["`VideoOptions` allows control over video playback in supported Google Mobile Ads formats."],["It provides options to enable click-to-expand, custom controls (play/pause/mute/unmute), and starting videos muted."],["Developers can use `ClickToExpandRequested`, `CustomControlsRequested`, and `StartMuted` properties to customize video behavior."],["A new `VideoOptions` object is created using the `VideoOptions()` constructor."]]],["The `VideoOptions` class in GoogleMobileAds.Api controls video playback in ads. Key actions include creating a new `VideoOptions` object and setting three boolean attributes: `ClickToExpandRequested`, `CustomControlsRequested`, and `StartMuted`. These attributes determine if the video should expand on click, have custom play/pause/mute controls, and begin muted, respectively. Developers can configure these settings to tailor the video ad experience.\n"]]