个人信息
设置个人信息
可以通过借口设置个人信息,包括昵称、生日、性别,建议昵称必须设置,以便在推送消息的时候使用,具体代码如下:
- unsigned int matchKey = 0;
 - ECPersonInfo Info;
 - Info.nickName = "小云";
 - Info.sex = 2;
 - Info.birth = "2000-11-28"
 - int nRet = SetPersonInfo (&matchKey,&Info);
 - 结果回调:
 - void OnSetPersonInfo(unsigned int matchKey, int reason, unsigned longlong version);
 
获取个人信息
 获取个人信息代码如下:
- unsigned int matchKey = 0;
 - int nRet = GetPersonInfo (&matchKey,”Tony”);
 - 结果回调:
 - void OnGetPersonInfo(unsigned int matchKey, int reason, ECPersonInfo *pPersonInfo);