public class AVChatCommonEvent extends java.lang.Object implements AVChatData
| Modifier and Type | Field and Description |
|---|---|
protected AVChatData |
data |
protected AVChatEventType |
event |
| Constructor and Description |
|---|
AVChatCommonEvent(AVChatEventType event,
AVChatData data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccount()
Get the peer account.
|
long |
getChatId()
Get the call ID
|
AVChatType |
getChatType()
Get the call type
|
AVChatEventType |
getEvent() |
java.lang.String |
getExtra()
Get user defined info
|
java.lang.String |
getPushSound()
Get the tone for push
|
long |
getTimeTag()
Get the timestamp of the current event
|
protected AVChatEventType event
protected AVChatData data
public AVChatCommonEvent(AVChatEventType event, AVChatData data)
public AVChatEventType getEvent()
public long getChatId()
AVChatDatagetChatId in interface AVChatDatapublic java.lang.String getAccount()
AVChatDatagetAccount in interface AVChatDatapublic AVChatType getChatType()
AVChatDatagetChatType in interface AVChatDatapublic long getTimeTag()
AVChatDatagetTimeTag in interface AVChatDatapublic java.lang.String getExtra()
AVChatDatagetExtra in interface AVChatDatapublic java.lang.String getPushSound()
AVChatDatagetPushSound in interface AVChatData