pk房完成,剩余禁止对方麦未完成

拍卖房完成
点歌房完成,音乐播放需要测试
This commit is contained in:
2025-07-04 16:38:21 +08:00
parent 4c7e996706
commit 2d510ffe2a
640 changed files with 698375 additions and 163954 deletions

View File

@@ -0,0 +1,38 @@
package com.qxcm.moduleutil.utils;
import android.content.Context;
import android.content.Intent;
import com.tencent.imsdk.v2.V2TIMConversation;
import com.tencent.qcloud.tuicore.TUIConstants;
import com.tencent.qcloud.tuikit.tuichat.classicui.page.TUIC2CChatActivity;
public class ChatLauncher {
private static volatile ChatLauncher instance;
private ChatLauncher() {}
public static ChatLauncher getInstance() {
if (instance == null) {
synchronized (ChatLauncher.class) {
if (instance == null) {
instance = new ChatLauncher();
}
}
}
return instance;
}
/**
* 启动 C2C 聊天界面
* @param context 上下文
* @param chatId 聊天对象 ID用户 ID
*/
public void launchC2CChat(Context context, String chatId) {
Intent intent = new Intent(context, TUIC2CChatActivity.class);
intent.putExtra(TUIConstants.TUIChat.CHAT_ID, chatId);
intent.putExtra(TUIConstants.TUIChat.CHAT_TYPE, V2TIMConversation.V2TIM_C2C);
context.startActivity(intent);
}
}