PreloadInfo.Builder class

com.yandex.metrica

public static class PreloadInfo.Builder

Builder class for PreloadInfo.

Methods

PreloadInfobuild()

Creates the instance of the PreloadInfo class.

PreloadInfo.BuildersetAdditionalParams(String key, String value)

Sets additional parameters as “key-values” pairs, which are used for tracking pre-installed apps.

Method descriptions

build

public PreloadInfo build()

Creates the instance of the PreloadInfo class.

Returns:

The instance of the PreloadInfo class.

setAdditionalParams

public PreloadInfo.Builder setAdditionalParams(String key, String value)

Sets additional parameters as “key-values” pairs, which are used for tracking pre-installed apps.

This method may be invoked repeatedly for setting multiple pairs of additional information

Parameters:
keyKey for the additional parameter. Can't be null. Pairs with the null key are ignored.
valueValue of the additional parameter. Can't be null. Pairs with the null value are ignored.

Returns:

The instance of the PreloadInfo.Builder class.