目录

CLASS info
public class VideoConfiguration extends Object
Video configuration used to control video playback.

Nested Classes Summary

TypeNameDesc
ClassVideoConfiguration.BuilderVideo configuration builder.

Public Method Summary

ReturnMethod
intgetAudioFocusType()
Obtains the video playback scenario where the audio focus needs to be obtained.
booleanisCustomizeOperateRequested()
Checks whether a custom video control is used for a video ad.
booleanisStartMuted()
Checks whether a video is initially muted.

Public Methods

Method

public int getAudioFocusType()

Obtains the video playback scenario where the audio focus needs to be obtained.

Return

typedesc
int

Vidwo playback scenario where the audio focus needs to be obtained, such as:

AudioFocusType.GAIN_AUDIO_FOCUS_ALL;

AudioFocusType.NOT_GAIN_AUDIO_FOCUS_WHEN_MUTE;

AudioFocusType.NOT_GAIN_AUDIO_FOCUS_ALL.

Method
public final boolean  isCustomizeOperateRequested()
Checks whether a custom video control is used for a video ad.

Return

typedesc
booleanIf a custom video control is used for a video ad, true is returned. Otherwise, false is returned.
Method
public final boolean isStartMuted()
Checks whether a video is initially muted.

Return

typedesc
booleanIf a video is initially muted, true is returned. Otherwise, false is returned.