Class PreloadInfo.Builder

java.lang.Object
io.appmetrica.analytics.PreloadInfo.Builder
Enclosing class:
PreloadInfo

public static class PreloadInfo.Builder extends Object
Builds a new PreloadInfo instance.
  • Method Details

    • setAdditionalParams

      public PreloadInfo.Builder setAdditionalParams(String key, 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:
    • build

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