public class DoodleDataReportStatistics
extends java.lang.Object
构造器和说明 |
---|
DoodleDataReportStatistics() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getReportReceiveUid(java.lang.String drawingUid)
获取上报的接收方信息
|
int |
getReportSendType(java.lang.String drawingUid)
判断当前上报是发送方还是接收方
1发送,2接收
|
java.lang.String |
getReportWordInfo(java.lang.String drawingUid)
获取上报的词汇信息
|
boolean |
isPlayingGame() |
void |
onDrawBegin(java.lang.String drawingUid,
boolean isVCalling)
绘制开始
|
void |
onDrawEnd(java.lang.String drawingUid,
boolean isVCalling)
绘制结束
|
void |
onReceiveStrokeSuccess(int position)
画笔数据接收成功后回调
|
void |
onSendStrokeSuccess(int sendCount)
画笔数据发送成功后回调
|
void |
reportDataReport(java.lang.String drawingUid)
上报画笔统计数据
|
void |
setCommonData(java.lang.String vid,
DrawingGameProgressInfo gameInfo) |
public void setCommonData(java.lang.String vid, DrawingGameProgressInfo gameInfo)
public void onDrawBegin(java.lang.String drawingUid, boolean isVCalling)
drawingUid
- 绘制人uidpublic void onDrawEnd(java.lang.String drawingUid, boolean isVCalling)
drawingUid
- 绘制人uidisVCalling
- 是否正在连麦public void onSendStrokeSuccess(int sendCount)
sendCount
- 本次发送的画笔数量public void onReceiveStrokeSuccess(int position)
position
- 本次接收的画笔编号public boolean isPlayingGame()
public int getReportSendType(java.lang.String drawingUid)
drawingUid
- 绘制人uidpublic java.lang.String getReportWordInfo(java.lang.String drawingUid)
drawingUid
- 绘制人uidpublic java.lang.String getReportReceiveUid(java.lang.String drawingUid)
drawingUid
- 绘制人uidpublic void reportDataReport(java.lang.String drawingUid)
drawingUid
- 绘制人uid