Summary: Ctors | Inherited Methods | [Expand All]
public static class

# HitBuilders.AppViewBuilder

extends HitBuilder<HitBuilders.AppViewBuilder>

java.lang.Object
↳ | com.google.android.gms.analytics.HitBuilders.HitBuilder<com.google.android.gms.analytics.HitBuilders.AppViewBuilder>
| ↳ | com.google.android.gms.analytics.HitBuilders.AppViewBuilder

This class is deprecated.
This class has been deprecated in favor of the new ScreenViewBuilder class. The two classes are semantically similar but the latter is consistent across all the Google Analytics platforms.

## Class Overview

Class to build a basic app view hit. You can add any of the other fields to the builder using common set methods.

## Summary

Public Constructors
| HitBuilders.AppViewBuilder()

[Expand] Inherited Methods
From class com.google.android.gms.analytics.HitBuilders.HitBuilder
HitBuilders.AppViewBuilder | addImpression(Product product, String impressionList) Adds a product impression to the hit.
HitBuilders.AppViewBuilder | addProduct(Product product) Adds product information to be sent with a given hit.
HitBuilders.AppViewBuilder | addPromotion(Promotion promotion) Adds promotion related information to the hit.
Map<String, String> | build() Builds a `Map` of parameters and values that can be set on the `Tracker` object.
String | get(String paramName)
final HitBuilders.AppViewBuilder | set(String paramName, String paramValue) Sets the value for the given parameter name.
final HitBuilders.AppViewBuilder | setAll(Map<String, String> params) Adds a set of key, value pairs to the hit builder.
HitBuilders.AppViewBuilder | setCampaignParamsFromUrl(String utmParams) Parses and translates utm campaign parameters to analytics campaign parameters and returns them as a map.
HitBuilders.AppViewBuilder | setCustomDimension(int index, String dimension) Adds a custom dimension to the current hit builder.
HitBuilders.AppViewBuilder | setCustomMetric(int index, float metric) Adds a custom metric to the current hit builder.
HitBuilders.AppViewBuilder | setHitType(String hitType) Sets the type of the hit to be sent.
HitBuilders.AppViewBuilder | setNewSession()
HitBuilders.AppViewBuilder | setNonInteraction(boolean nonInteraction)
HitBuilders.AppViewBuilder | setProductAction(ProductAction action) Sets a product action for all the products included in this hit.
HitBuilders.AppViewBuilder | setPromotionAction(String action) Adds an action associated with the promotions in a given hit.
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Constructors

#### public HitBuilders.AppViewBuilder ()