Class VastRequestConfiguration.Builder

com.yandex.mobile.ads.video

public class VastRequestConfiguration.Builder

Creates an object of the VastRequestConfiguration class.

Methods

Builder(@NonNull final AdBreak adBreak)

Creates an object of the VastRequestConfiguration.Builder class for creating VastRequestConfiguration.

VastRequestConfiguration build()

Creates an object of the VastRequestConfiguration class with the specified configuration.

Builder setParameters(@NonNull final Map< String, String > parameters)

Sets additional parameters for video ads.

Method Detail

Builder

public Builder (@NonNull final AdBreak adBreak)

Creates an object of the VastRequestConfiguration.Builder class for creating VastRequestConfiguration.

Parameters:
adBreak

An object of the AdBreak class.

build

public VastRequestConfiguration build ()

Creates an object of the VastRequestConfiguration class with the specified configuration.

Returns:

An object of the VastRequestConfiguration class.

setParameters

public Builder setParameters (@NonNull final Map< String, String > parameters)

Sets additional parameters for video ads.

Parameters:
parameters

Additional parameters.

Returns:

An object of the VastRequestConfiguration.Builder class with additional parameters.