public final class EventBufferSettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static |
CREATOR
For Parcelable
|
static int |
DEFAULT_BUFFER_TIME_MILLISECONDS
Default event buffering time in milliseconds.
|
static EventBufferSettings |
DEFAULT_EVENT_BUFFER_SETTINGS
Predefined settings which will vote for event buffering to be set to the default.
|
static EventBufferSettings |
DISABLE_EVENT_BUFFER_SETTINGS
Predefined settings which will vote for event buffering to be disabled.
|
static int |
MAX_BUFFER_TIME_MILLISECONDS
The maximum time in milliseconds an event buffer can be configured to.
|
static int |
MIN_BUFFER_TIME_MILLISECONDS
The minimum time in milliseconds an event buffer can be configured to.
|
Constructor and Description |
---|
EventBufferSettings()
Constructs an EventBufferSettings object with the default values.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object obj) |
int |
getEventBufferTime()
The current maximum time an event will remain in the buffer before being
flushed.
|
int |
hashCode() |
void |
setEventBufferTime(int timeMilliseconds)
Set the maximum buffer time an event will remain in the buffer before
being flushed.
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final int DEFAULT_BUFFER_TIME_MILLISECONDS
public static final int MIN_BUFFER_TIME_MILLISECONDS
public static final int MAX_BUFFER_TIME_MILLISECONDS
public static final EventBufferSettings DEFAULT_EVENT_BUFFER_SETTINGS
public static final EventBufferSettings DISABLE_EVENT_BUFFER_SETTINGS
public static finalCREATOR
public EventBufferSettings()
public int getEventBufferTime()
public void setEventBufferTime(int timeMilliseconds)
timeMilliseconds
- The maximum time in millisecondspublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
public void writeToParcel(Parcel dest, int flags)
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.