Enclosing class:
PreloadInfo


public static class PreloadInfo.Builder
extends java.lang.Object
Builds a new PreloadInfo instance.

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
PreloadInfobuild()
Creates a new instances of PreloadInfo with defined configuration.
PreloadInfo.BuildersetAdditionalParams(java.lang.String key, java.lang.String value)
Sets additional parameters for tracking preloaded apps.

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

setAdditionalParams

public PreloadInfo.Builder setAdditionalParams(java.lang.String key,
                                               java.lang.String value)
Sets additional parameters for tracking preloaded apps. Can be called many times for different key-pairs.
Parameters:
key - The key of key-value pair of additional parameters. Cannot be null. The pair with null-key will be ignored.
value - The value of key-value pair of additional parameters. Cannot be null. The pair with null-value will be ignored.
Returns:
The same PreloadInfo.Builder instance.
See Also:
PreloadInfo.getAdditionalParams()

build

public PreloadInfo build()
Creates a new instances of PreloadInfo with defined configuration.
Returns:
PreloadInfo object.