hyphenate_plugin 0.0.1 hyphenate_plugin: ^0.0.1 copied to clipboard
Flutter Easemob SDK
hyphenate_plugin #
Flutter 环信 SDK (Flutter Easemob SDK)
已实现功能(Implemented function) #
- 初始化(init)
- 注册(createAccount)
- 登录(login)
- 注销(logout)
- 发送文字消息(sendTextMessage)
- 接口文字信息(receiveTextMssage)
接口(API) #
- 初始化(init)
static Future<String> initSDK(appKey) async
- 注册(createAccount)
static Future<String> createAccount(username, password) async
- 登录(login)
static Future<String> login(username, password) async
- 注销(logout)
static Future<String> logout() async
- 发送文字消息(sendTextMessage)
Future<String> sendTxtMsg(toChatUsername, content, isGroupChat)
- 接口文字信息(receiveTextMssage)
void _onMessageReceived(msg,type) HyphenatePlugin.instance.setOnMessageReceived(_onMessageReceived)