JMSDK Android
v2.6.1
API文档
|
Public 成员函数 | |
void | onQueryUserStatusResult (int operationId, boolean result, List< JCAccountItem > accountItemList) |
void | onQueryAccount (int operationId, boolean result, int reason) |
void | onRequestAuthCode (int operationId, boolean result, int reason) |
void | onRegister (int operationId, boolean result, int reason) |
void | onResetPassword (int operationId, boolean result, int reason) |
void | onChangePassword (int operationId, boolean result, int reason) |
void | onFetchPassword (int operationId, boolean result, String password, int reason) |
void | onSetAccountProperty (int operationId, boolean result, int reason) |
void | onGetAccountProperty (int operationId, boolean result, String value, int reason) |
JCAccount 回调
void com.juphoon.meeting.JCAccountCallback.onChangePassword | ( | int | operationId, |
boolean | result, | ||
int | reason | ||
) |
修改密码结果回调
operationId | 操作ID, 对应changePassword接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败原因 |
void com.juphoon.meeting.JCAccountCallback.onFetchPassword | ( | int | operationId, |
boolean | result, | ||
String | password, | ||
int | reason | ||
) |
找回密码结果回调
operationId | 操作ID,对应fetchPassword接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
password | 加密后的密码,可用于登录 |
reason | 失败的原因 |
void com.juphoon.meeting.JCAccountCallback.onGetAccountProperty | ( | int | operationId, |
boolean | result, | ||
String | value, | ||
int | reason | ||
) |
获取自定义属性回调
operationId | 操作ID,对应getAccountProperty接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
value | 自定义属性值 |
reason | 失败的原因 |
void com.juphoon.meeting.JCAccountCallback.onQueryAccount | ( | int | operationId, |
boolean | result, | ||
int | reason | ||
) |
账号查询回调
operationId | 操作ID, 对应queryAccount接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 查询成功 ACCOUNT_REASON_EXIST或ACCOUNT_REASON_NOTEXIST,查询失败 ACCOUNT_REASON_NONE |
void com.juphoon.meeting.JCAccountCallback.onQueryUserStatusResult | ( | int | operationId, |
boolean | result, | ||
List< JCAccountItem > | accountItemList | ||
) |
查询账号状态结果回调
operationId | 操作ID, 对应queryUserStatus接口返回值 |
result | 查询是否成功 |
accountItemList | 查询结果 |
void com.juphoon.meeting.JCAccountCallback.onRegister | ( | int | operationId, |
boolean | result, | ||
int | reason | ||
) |
注册结果回调
operationId | 操作ID, 对应registerAccount接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败原因 |
void com.juphoon.meeting.JCAccountCallback.onRequestAuthCode | ( | int | operationId, |
boolean | result, | ||
int | reason | ||
) |
请求验证码结果回调
operationId | 操作ID, 对应requestAuthCode接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败原因 |
void com.juphoon.meeting.JCAccountCallback.onResetPassword | ( | int | operationId, |
boolean | result, | ||
int | reason | ||
) |
重置密码结果回调
operationId | 操作ID, 对应resetPassword接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败原因 |
void com.juphoon.meeting.JCAccountCallback.onSetAccountProperty | ( | int | operationId, |
boolean | result, | ||
int | reason | ||
) |
设置自定义属性回调
operationId | 操作ID,对应setAccountProperty接口返回值 |
result | true 表示请求成功,false 表示请求失败 |
reason | 失败的原因 |