Package com.yandex.metrica
Class PreloadInfo
java.lang.Object
com.yandex.metrica.PreloadInfo
public class PreloadInfo
extends java.lang.Object
Contains information for tracking preloaded apps
Configuration created by
PreloadInfo.Builder-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPreloadInfo.BuilderBuilds a newPreloadInfoinstance. -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getAdditionalParams()Return the additional parameters for tracking preloaded apps which can't be modified.java.lang.StringgetTrackingId()Return the Tracking Id for tracking preloaded apps.static PreloadInfo.BuildernewBuilder(java.lang.String trackingId)Creates a new instance ofPreloadInfo.Builder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
newBuilder
Creates a new instance ofPreloadInfo.Builder.- Parameters:
trackingId- - The Tracking Id for tracking preloaded apps.- Returns:
- The builder of
PreloadInfo. - See Also:
getTrackingId()
-
getTrackingId
public java.lang.String getTrackingId()Return the Tracking Id for tracking preloaded apps.- Returns:
- the Tracking Id value.
- See Also:
newBuilder(String)
-
getAdditionalParams
public java.util.Map<java.lang.String,java.lang.String> getAdditionalParams()Return the additional parameters for tracking preloaded apps which can't be modified.- Returns:
- the unmodifiable
Mapof key-value pairs. - See Also:
PreloadInfo.Builder.setAdditionalParams(String, String),Collections.unmodifiableMap(Map)
-