public class MatchMakerManager
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
MatchMakerManager.OnMatchMakerDialogManagerListener
红娘管理类的接口
|
static class |
MatchMakerManager.OnMatchMakerDialogManagerListenerImpl
内部抽象类实现管理类接口
|
限定符和类型 | 字段和说明 |
---|---|
static java.util.Set<java.lang.String> |
mOnlineSet |
static java.util.Set<java.lang.String> |
mRecentSet |
构造器和说明 |
---|
MatchMakerManager(android.content.Context mContext,
java.lang.String vid,
androidx.fragment.app.FragmentManager mFragmentManager) |
限定符和类型 | 方法和说明 |
---|---|
static void |
add(java.lang.String uid) |
static void |
add(java.lang.String uid,
int type) |
androidx.fragment.app.FragmentManager |
getFragmentManager() |
java.lang.String |
getVid() |
void |
inviteUserData(java.lang.String vid,
java.util.List<OnlineAudienceAndRecentBean.DataBean.UserBean> recentList,
java.util.List<OnlineAudienceAndRecentBean.DataBean.UserBean> audienceList) |
static boolean |
isInvited(java.lang.String uid) |
static boolean |
isInvited(java.lang.String uid,
int type) |
void |
matchMakerApplyDialogShow(int type,
int from,
java.lang.String applyGender,
MatchMakerManager.OnMatchMakerDialogManagerListener listener)
展示申请列表
|
void |
matchMakerInviteDialogShow(java.lang.String sex,
MatchMakerManager.OnMatchMakerDialogManagerListener listener)
显示邀请列表
|
void |
onResume() |
void |
release() |
void |
setFragmentManager(androidx.fragment.app.FragmentManager fragmentManager) |
void |
setVid(java.lang.String mVid) |
public static java.util.Set<java.lang.String> mOnlineSet
public static java.util.Set<java.lang.String> mRecentSet
public MatchMakerManager(android.content.Context mContext, java.lang.String vid, androidx.fragment.app.FragmentManager mFragmentManager)
public void setFragmentManager(androidx.fragment.app.FragmentManager fragmentManager)
public androidx.fragment.app.FragmentManager getFragmentManager()
public java.lang.String getVid()
public void setVid(java.lang.String mVid)
public void matchMakerInviteDialogShow(java.lang.String sex, MatchMakerManager.OnMatchMakerDialogManagerListener listener)
sex
- listener
- public void matchMakerApplyDialogShow(int type, int from, java.lang.String applyGender, MatchMakerManager.OnMatchMakerDialogManagerListener listener)
type
- 类型 WATCH_LIVE(1): 看播 UP_LIVE(2): 主播from
- 0: 座位空闲 1 :女占满,2:男占满:3:坐席都被占满listener
- 监听事件applyGender
- 新申请的男女,用来展示女列表还是男列表public void onResume()
public void release()
public static boolean isInvited(java.lang.String uid)
public static boolean isInvited(java.lang.String uid, int type)
public static void add(java.lang.String uid)
public static void add(java.lang.String uid, int type)
public void inviteUserData(java.lang.String vid, java.util.List<OnlineAudienceAndRecentBean.DataBean.UserBean> recentList, java.util.List<OnlineAudienceAndRecentBean.DataBean.UserBean> audienceList)