public class SnsBindPresenter
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SnsBindPresenter.RefreshDataEvent |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
editSnsAccountBO(java.lang.String isShow,
java.lang.String bindStatus,
com.app.user.account.social.view.BO.SnsAccountBO snsAccountBO,
com.app.common.common.AsyncActionCallback callback)
编辑社交账号绑定信息
|
void |
getAnchorSnsAccountBOs(com.app.user.account.AccountInfo accountInfo,
com.app.common.common.AsyncActionCallback callback)
获取播主社交账号绑定信息
|
static SnsBindPresenter |
getInstance() |
int |
getLevel() |
void |
getSnsAccountBOs(com.app.user.account.AccountInfo accountInfo,
com.app.common.common.AsyncActionCallback callback)
获取社交账号绑定信息
|
java.util.ArrayList<com.app.user.account.social.view.BO.SnsAccountBO> |
getSnsAccountBOsFromDB() |
void |
initData()
重新登录或者新注册用户初始化数据表
|
void |
initTable()
老用户初始化数据表
|
static boolean |
isAllowRedPoint() |
static boolean |
isHaveBindFreeCoins() |
void |
reportSnsAccountBO(com.app.user.account.AccountInfo accountInfo,
com.app.user.account.social.view.BO.SnsAccountBO snsAccountBO,
com.app.common.common.AsyncActionCallback callback)
上报社交账号绑定信息
|
public static SnsBindPresenter getInstance()
public void initData()
public void initTable()
public void getAnchorSnsAccountBOs(@NonNull
com.app.user.account.AccountInfo accountInfo,
@NonNull
com.app.common.common.AsyncActionCallback callback)
accountInfo - callback - public void getSnsAccountBOs(@NonNull
com.app.user.account.AccountInfo accountInfo,
@NonNull
com.app.common.common.AsyncActionCallback callback)
accountInfo - public void reportSnsAccountBO(@NonNull
com.app.user.account.AccountInfo accountInfo,
@NonNull
com.app.user.account.social.view.BO.SnsAccountBO snsAccountBO,
@NonNull
com.app.common.common.AsyncActionCallback callback)
accountInfo - snsAccountBO - public void editSnsAccountBO(@NonNull
java.lang.String isShow,
@NonNull
java.lang.String bindStatus,
@NonNull
com.app.user.account.social.view.BO.SnsAccountBO snsAccountBO,
@NonNull
com.app.common.common.AsyncActionCallback callback)
isShow - 显示状态bindStatus - 绑定状态snsAccountBO - callback - public java.util.ArrayList<com.app.user.account.social.view.BO.SnsAccountBO> getSnsAccountBOsFromDB()
public int getLevel()
public static boolean isAllowRedPoint()
public static boolean isHaveBindFreeCoins()