public class Event extends Object
ChatService.sendEvents(Event...)
via Zopim protocol.Constructor and Description |
---|
Event(String title)
Constructs the
Event with a passed title and generates a timestamp based on System.currentTimeMillis() |
Event(String title,
long timestamp)
Constructs the
Event with a passed title and timestamp |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getTimestamp()
Gets timestamp of the event
|
String |
getTitle()
Gets title of the event
|
int |
hashCode() |
String |
toString() |
public Event(String title)
Event
with a passed title and generates a timestamp based on System.currentTimeMillis()
title
- of the eventpublic String getTitle()
public long getTimestamp()