public static enum AppEventsLogger.FlushBehavior extends java.lang.Enum<AppEventsLogger.FlushBehavior>
| Enum Constant and Description |
|---|
AUTO
Flush automatically: periodically (every 15 seconds or after every 100 events), and
always at app reactivation.
|
EXPLICIT_ONLY
Only flush when AppEventsLogger.flush() is explicitly invoked.
|
| Modifier and Type | Method and Description |
|---|---|
static AppEventsLogger.FlushBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppEventsLogger.FlushBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppEventsLogger.FlushBehavior AUTO
public static final AppEventsLogger.FlushBehavior EXPLICIT_ONLY
public static AppEventsLogger.FlushBehavior[] values()
for (AppEventsLogger.FlushBehavior c : AppEventsLogger.FlushBehavior.values()) System.out.println(c);
public static AppEventsLogger.FlushBehavior valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null