public static enum EnableGoogleAnalytics.SendMode extends Enum<EnableGoogleAnalytics.SendMode>
EnableGoogleAnalytics.sendMode()
.Enum Constant and Description |
---|
ALWAYS
Always send tracked page views and events to Google Analytics.
|
NEVER
Never send tracked page views and events to Google Analytics.
|
PRODUCTION
Send tracked page views and events to Google Analytics only when Flow
is run in production mode.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
shouldSend(boolean productionMode)
Checks whether sending should be enabled for the given production
mode setting.
|
static EnableGoogleAnalytics.SendMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnableGoogleAnalytics.SendMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnableGoogleAnalytics.SendMode ALWAYS
public static final EnableGoogleAnalytics.SendMode PRODUCTION
public static final EnableGoogleAnalytics.SendMode NEVER
public static EnableGoogleAnalytics.SendMode[] values()
for (EnableGoogleAnalytics.SendMode c : EnableGoogleAnalytics.SendMode.values()) System.out.println(c);
public static EnableGoogleAnalytics.SendMode 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 abstract boolean shouldSend(boolean productionMode)
productionMode
- the production mode settingCopyright © 2023 Sami Ekblad. All rights reserved.