public static enum AppEventsLogger.FlushBehavior extends Enum<AppEventsLogger.FlushBehavior>
Enum Constant and Description |
---|
AUTO
Flush automatically: periodically (once a minute 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(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(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 null