当前位置:网站首页>Tencent cloud im integration (so easy)
Tencent cloud im integration (so easy)
2022-04-22 15:02:00 【xiyangyang8110】
https://cloud.tencent.com/document/product/269/37059
According to the document, you can directly reach the chat list interface
1
// Initialize when the program starts TUI Components , Usually in Application Of onCreate Initialize in :
TUILogin.init(this, SDKAPPID, null, null);
// In user UI Click login to log in UI Components :
TUILogin.login(userId, userSig, new V2TIMCallback() {
@Override
public void onError(final int code, final String desc) {
}
@Override
public void onSuccess() {
}
});
2 Enter the session list interface

fragments.add(new TUIConversationFragment());
3 The core : Enter the reply box interface

// ContactItemBean.TYPE_C2C It means one-on-one chat
ContactUtils.startChatActivity("manage_" + userSignBean.getData().getTraderId(), ContactItemBean.TYPE_C2C, "", "");
版权声明
本文为[xiyangyang8110]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221452471868.html
边栏推荐
猜你喜欢

【朋友圈服务器架构设计】

第一阶段*第四章*项目管理一般知识
![[question brushing diary] classic programming questions of written test (III)](/img/c9/d3d7e2a392900e96652cf204721f21.png)
[question brushing diary] classic programming questions of written test (III)

ROS通信机制二---服务通信

Love station network keyword mining query tool - batch website keyword mining export software free download

Web automation testing framework realizes the operation of web elements through JS

The memory expansion application of STM32 is realized, and the single chip microcomputer with small memory can also do great things (FSMC + SRAM)

redis优化系列(一)基于docker搭建Redis主从

分享一个(快捷导航)

leetcode1025. 除数博弈(简单)
随机推荐
PCBA/IPQ4019 /openWRT 2.4/5G dual bands IPQ4019 openWRT 2.4/5G dual bands
【ORB_SLAM2源码解读】分析ORB_SLAM2 RGBD 第0帧是怎么计算位置姿态的
Configure MySQL Cluster with MYCAT (2) -- configure MySQL master-slave replication
琢磨琢磨方法引用以及lambda--白话Lambda和方法引用
C语言的基本练习(001-1)
PlatoFarm推出正式版游戏经济模型的特点分析
Web automation testing framework realizes the operation of web elements through JS
STM32将采集数据以TXT文件形式保存在SD卡的操作实战,小小单片机系统也能便携取出大量本地数据(SD卡+FATFS)
查看自己的系统激活类型
Upgrade the source database to version 5.0, restart the mongoshake service, and then report an error
这两种人是做不好自媒体的,一辈子都赚不到大钱
Love station network keyword mining query tool - batch website keyword mining export software free download
合并两个有序链表——LeetCode
Saving notes 20: transforming notebook computer (ASUS a555l)
memcpy( )函数复制二维数组 & memcmp( )函数比较二维数组
如何通过云效Projex项目协同提高团队更高效的协作能力
职场PUA,管理者的五宗罪
A young man's first acquaintance
Go language introduction, environment installation, basic structure
入参有汉字,报错500,服务器内部错误