Class Info |
|---|
public class VideoConfiguration extends Object Video configuration that controls video playback. |
Qualifier and Type | Class Name and Description |
|---|---|
static final class | Video configuration builder. |
Qualifier and Type | Method Name and Description |
|---|---|
int | Obtains the audio focus type. |
boolean | isClickToFullScreenRequested() Checks whether a video ad can be displayed in full screen mode upon a click. |
boolean | Checks whether a custom player component is used for a video ad. |
boolean | Checks whether a video is initially muted. |
int | Obtains the type of the network allowed for automatic video playback. |
Method |
|---|
public int getAudioFocusType() Obtains the audio focus type. |
Returns
Type | Description |
|---|---|
int | Audio focus type. |
Method |
|---|
public final boolean isClickToFullScreenRequested() Checks whether a video ad can be displayed in full screen mode upon a click. |
Returns
Type | Description |
|---|---|
boolean | Whether a video ad can be displayed in full screen mode upon a click.
The default value is false. |
Method |
|---|
public final boolean isCustomizeOperateRequested() Checks whether a custom player component is used for a video ad. |
Returns
Type | Description |
|---|---|
boolean | Whether a custom player component is used for a video ad.
The default value is false. |
Method |
|---|
public final boolean isStartMuted() Checks whether a video is initially muted. |
Returns
Type | Description |
|---|---|
boolean | Whether a video is initially muted.
The default value is false. |
Method |
|---|
public int getAutoPlayNetwork() Obtains the type of the network allowed for automatic video playback. |
Returns
Type | Description |
|---|---|
int | Type of the network allowed for automatic video playback.
The default value is 0, indicating that automatic playback is allowed only when a Wi-Fi network is available. For details, please refer to AutoPlayNetType. |