public class AccountActionSdkUtil
extends java.lang.Object
构造器和说明 |
---|
AccountActionSdkUtil() |
限定符和类型 | 方法和说明 |
---|---|
static void |
asyncRefreshCurrentAccount(com.app.common.common.AsyncActionCallback cb,
java.lang.String httpMsgTag)
异步触发更新我当前账号数据
result == AsyncActionCallback.RESULT_OK :刷新成功且更新完毕
|
static void |
doFavorOperation(FollowCommonManager.FollowCommon common,
com.app.common.common.AsyncActionCallback cb) |
static java.lang.String[] |
getAccountNames(android.content.Context context) |
static android.accounts.Account[] |
getAccounts(android.content.Context context) |
static java.lang.String |
getDefaultMailAccountName(android.content.Context context) |
static java.lang.String |
getLiveGameRankAddress(java.lang.String area)
直播间游戏排行榜的H5地址
|
static boolean |
isEmail(java.lang.String email) |
static void |
queryAnchorInfo(java.lang.String uid,
com.app.common.common.AsyncActionCallback cb,
java.lang.String httpMsgTag)
查询给定uid的主播信息
返回值为 AccountInfo
|
static void |
queryAnchorInfo(java.lang.String uid,
java.lang.String videoId,
com.app.common.common.AsyncActionCallback cb,
java.lang.String httpMsgTag)
添加一个重载方法,根据videoid获取用户是否是这个视频主播的管理员,是否被禁言
|
static void |
queryAnchorInfo(java.lang.String uid,
java.lang.String videoId,
int from,
com.app.common.common.AsyncActionCallback cb,
java.lang.String httpMsgTag)
添加一个重载方法,根据videoid获取用户是否是这个视频主播的管理员,是否被禁言
|
static void |
queryAnchorInfo(java.lang.String uid,
java.lang.String scene,
java.lang.String appId,
com.app.common.common.AsyncActionCallback cb,
java.lang.String httpMsgTag) |
static void |
queryProfileAnchorInfo(java.lang.String uid,
java.lang.String videoId,
int from,
com.app.common.common.AsyncActionCallback cb) |
static void |
updateAccountLevel(int level,
long currentExp,
long currentLevelStartExp,
long nextLevelExp,
java.lang.String levelRight,
java.lang.String httpMsgTag)
更新用户级别
|
public static void doFavorOperation(FollowCommonManager.FollowCommon common, com.app.common.common.AsyncActionCallback cb)
public static void asyncRefreshCurrentAccount(com.app.common.common.AsyncActionCallback cb, java.lang.String httpMsgTag)
public static void queryAnchorInfo(java.lang.String uid, com.app.common.common.AsyncActionCallback cb, java.lang.String httpMsgTag)
public static void queryAnchorInfo(java.lang.String uid, java.lang.String videoId, com.app.common.common.AsyncActionCallback cb, java.lang.String httpMsgTag)
uid
- videoId
- cb
- httpMsgTag
- public static void queryAnchorInfo(java.lang.String uid, java.lang.String videoId, int from, com.app.common.common.AsyncActionCallback cb, java.lang.String httpMsgTag)
uid
- videoId
- from
- cb
- httpMsgTag
- public static void queryProfileAnchorInfo(java.lang.String uid, java.lang.String videoId, int from, com.app.common.common.AsyncActionCallback cb)
public static void queryAnchorInfo(java.lang.String uid, java.lang.String scene, java.lang.String appId, com.app.common.common.AsyncActionCallback cb, java.lang.String httpMsgTag)
public static java.lang.String getLiveGameRankAddress(java.lang.String area)
public static void updateAccountLevel(int level, long currentExp, long currentLevelStartExp, long nextLevelExp, java.lang.String levelRight, java.lang.String httpMsgTag)
level
- currentExp
- currentLevelStartExp
- nextLevelExp
- levelRight
- httpMsgTag
- public static java.lang.String getDefaultMailAccountName(android.content.Context context)
public static boolean isEmail(java.lang.String email)
public static java.lang.String[] getAccountNames(android.content.Context context)
public static android.accounts.Account[] getAccounts(android.content.Context context)