Giter VIP home page Giter VIP logo

rongcloud-unity-imlib's Introduction

rongcloud-unity-imlib

融云 Unity IMLib 是以 IMLib SDK 2.9.17 版本为基础实现的开源项目,支持 Android、iOS,开发者在集成使用过程中如遇到问题可提交到 GitHub 的 Issues 中,融云技术支持人员会在 1 个工作日内回复问题,谢谢您对融云的理解与支持。

文档

用法

初始化并连接融云服务

RongCloud.init(appKey);
RongCloud.connect(token);

监听消息

RCEvent.onReceiveMessageEvent += receiveMessage;

发送消息

TextMessage tm = new TextMessage();
tm.content = "消息发送测试!";
RongCloud.sendMessage(ConversationType.CHATROOM, "testRoom", tm,(eventID++).ToString());

更多示例请参考 [SampleScene]。

运行示例

导入 rongcloud_unity.unitypackage 包 打开 RongCloud/example/Scenes/SampleScene 在 RongCloudSdkExample.cs 中填入 appKey token 等信息。

项目结构

├── RongUnity (Unity 示例应用)
├── UnityPackage (Unity SDK 包)
├── lib
     ├── android (Android 原生模块)
     └── IOS   (ios 原生模块)

rongcloud-unity-imlib's People

Contributors

dawnmumu avatar ericyangpan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.