PreloadInfo.Builder class
com.yandex.metrica
public static class PreloadInfo.Builder
Builder class for PreloadInfo.
Methods
PreloadInfo | build() | Creates the instance of the PreloadInfo class. |
PreloadInfo.Builder | setAdditionalParams(String key, String value) | Sets additional parameters as “key-values” pairs, which are used for tracking pre-installed apps. |
PreloadInfo | build() | Creates the instance of the PreloadInfo class. |
PreloadInfo.Builder | setAdditionalParams(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
key | Key for the additional parameter. Can't be null . Pairs with the null key are ignored. |
value | Value of the additional parameter. Can't be null . Pairs with the null value are ignored. |
key | Key for the additional parameter. Can't be null . Pairs with the null key are ignored. |
value | Value of the additional parameter. Can't be null . Pairs with the null value are ignored. |
Returns:
The instance of the PreloadInfo.Builder
class.