| CLASS info |
| public static final class VideoConfiguration.Builder extends Object |
| Video configuration builder. |
| Constructor name |
| Builder() Video configuration builder constructor. |
| Return type | Method name |
| VideoConfiguration | build() Builds a VideoConfiguration object with specified attributes. |
| VideoConfiguration.Builder | setAudioFocusType(int audioFocusType) Sets the video playback scenario where the audio focus needs to be obtained. |
| VideoConfiguration.Builder | setCustomizeOperateRequested(boolean customizeOperateRequested) Specifies whether to use a custom video control for a video ad. |
| VideoConfiguration.Builder | setStartMuted(boolean startMuted) Specifies whether to mute a video initially. |
| Constructor |
| public Builder() |
| Video configuration builder constructor. |
| Method |
| public final VideoConfiguration build() |
| Builds a VideoConfiguration object with specified attributes. |
Return
| type | desc |
| VideoConfiguration | Video configuration. |
Parameters
| Parameter name | Parameter desc |
| audioFocusType | Video playback scenario where the audio focus needs to be obtained, such as: AudioFocusType.GAIN_AUDIO_FOCUS_ALL; |
Return
| 音频焦点类型 如:AudioFocusType.GAIN_AUDIO_FOCUS_ALL, AudioFocusType.NOT_GAIN_AUDIO_FOCUS_WHEN_MUTE, AudioFocusType.NOT_GAIN_AUDIO_FOCUS_ALLtype | desc |
| VideoConfiguration.Builder | Current object. |
Parameters
| Parameter name | Parameter desc |
| customizeOperateRequested | Indicates whether to request a custom video control. |
Return
| type | desc |
| VideoConfiguration.Builder | Current object. |
| Method |
| public VideoConfiguration.Builder setStartMuted(boolean startMuted) |
| Specifies whether to mute a video initially. |
Parameters
| Parameter name | Parameter desc |
| startMuted | Indicates whether to mute a video initially. |
Return
| type | desc |
| VideoConfiguration.Builder | Current object. |