public final class AggregatedData extends Object implements Parcelable
ChatroomManager.getAggregatedData(MessageRequest).
Including the key-value pair data and the created date.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<AggregatedData> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
AggregatedData(Parcel in,
ClassLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
long |
getCreatedDate()
Returns the created date of
getData(). |
androidx.collection.SimpleArrayMap<String,Integer> |
getData()
Returns the data which received via
EventListener.onAggregatedDataAdded(SimpleArrayMap). |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<AggregatedData> CREATOR
protected AggregatedData(Parcel in, ClassLoader loader)
public androidx.collection.SimpleArrayMap<String,Integer> getData()
EventListener.onAggregatedDataAdded(SimpleArrayMap).
Each key-value pair represents the number of times the data string has occurred.public long getCreatedDate()
getData().public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelable