public enum ActivityType extends Enum<ActivityType>
Java class for Activity.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Activity.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PAGE_VIEWS"/>
<enumeration value="DAILY_VISITS"/>
<enumeration value="CUSTOM"/>
<enumeration value="ITEMS_PURCHASED"/>
<enumeration value="TRANSACTIONS"/>
<enumeration value="IOS_APPLICATION_DOWNLOADS"/>
<enumeration value="ANDROID_APPLICATION_DOWNLOADS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ANDROID_APPLICATION_DOWNLOADS
Tracks conversions where the user has installed an Android application.
|
CUSTOM
Tracks conversions for visits to a webpage, but only counts one conversion per user per user
session.
|
DAILY_VISITS
Tracks conversions for visits to a webpage, but only counts one conversion per user per day,
even if a user visits the page multiple times.
|
IOS_APPLICATION_DOWNLOADS
Tracks conversions where the user has installed an iOS application.
|
ITEMS_PURCHASED
Tracks conversions where the user has made a purchase, the monetary value of each purchase,
plus the number of items that were purchased and the order ID.
|
PAGE_VIEWS
Tracks conversions for each visit to a webpage.
|
TRANSACTIONS
Tracks conversions where the user has made a purchase, the monetary value of each purchase,
plus the order ID (but not the number of items purchased).
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ActivityType |
fromValue(String v) |
String |
value() |
static ActivityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityType PAGE_VIEWS
public static final ActivityType DAILY_VISITS
public static final ActivityType CUSTOM
public static final ActivityType ITEMS_PURCHASED
public static final ActivityType TRANSACTIONS
public static final ActivityType IOS_APPLICATION_DOWNLOADS
public static final ActivityType ANDROID_APPLICATION_DOWNLOADS
public static final ActivityType UNKNOWN
public static ActivityType[] values()
for (ActivityType c : ActivityType.values()) System.out.println(c);
public static ActivityType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ActivityType fromValue(String v)
Copyright © 2018. All Rights Reserved.