Package com.yandex.metrica
Class PreloadInfo.Builder
java.lang.Object
com.yandex.metrica.PreloadInfo.Builder
- Enclosing class:
- PreloadInfo
public static class PreloadInfo.Builder
extends java.lang.Object
Builds a new
PreloadInfo instance.-
Method Summary
Modifier and Type Method Description PreloadInfobuild()Creates a new instances ofPreloadInfowith 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 Details
-
setAdditionalParams
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.Builderinstance. - See Also:
PreloadInfo.getAdditionalParams()
-
build
Creates a new instances ofPreloadInfowith defined configuration.- Returns:
PreloadInfoobject.
-