Builder for VideoOptions.
|
Builder()
|
| VideoOptions |
build()
Constructs a
VideoOptions
object with the specified attributes.
|
| VideoOptions.Builder |
setClickToExpandRequested(boolean clickToExpandRequested)
Sets whether the AdLoader should request ads with the Click to Expand behavior
enabled.
|
| VideoOptions.Builder |
setCustomControlsRequested(boolean customControlsRequested)
Requests custom video controls for video ads.
|
| VideoOptions.Builder |
setStartMuted(boolean startMuted)
Sets the initial mute state of the video.
|
Constructs a VideoOptions
object with the specified attributes.
Sets whether the AdLoader should request ads with the Click to Expand behavior enabled.
Requests custom video controls for video ads.
This feature is currently only available for Ad Manager reservations.
Use
VideoController.isCustomControlsEnabled() to verify if a loaded video ad has
custom video controls enabled.
After verification, you can then use VideoController.play(),
VideoController.pause(),
and VideoController.mute(boolean)
to control the video ad.
Sets the initial mute state of the video.