Class VmapRequestConfiguration.Builder

com.yandex.mobile.ads.video

public class VmapRequestConfiguration.Builder

Creates an object of the VmapRequestConfiguration class.

Methods

Builder(@NonNull final String pageId)

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

VmapRequestConfiguration build()

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

Builder setCategory(@NonNull final String categoryId)

Sets the category ID for the configuration loader.

Method Detail

Builder

public Builder (@NonNull final String pageId)

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

Parameters:
pageId

Unique identifier (pageId) created in the Partner interface.

build

public VmapRequestConfiguration build ()

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

Returns:

An object of the VmapRequestConfiguration class.

setCategory

public Builder setCategory (@NonNull final String categoryId)

Sets the category ID for the configuration loader.

Parameters:
categoryId

ID of the category. Can be created in the Partner interface. The default value is 0.

Returns:

An object of the VmapRequestConfiguration.Builder class with the category ID.