init
This commit is contained in:
36
lib/enum/listener_type.dart
Normal file
36
lib/enum/listener_type.dart
Normal file
@@ -0,0 +1,36 @@
|
||||
/// 事件监听类型
|
||||
///
|
||||
/// {@category Enums}
|
||||
///
|
||||
class ListenerType {
|
||||
///简单监听
|
||||
///
|
||||
static const String simpleMsgListener = 'simpleMsgListener';
|
||||
|
||||
///初始化监听
|
||||
///
|
||||
static const String initSDKListener = 'initSDKListener';
|
||||
|
||||
///群组监听
|
||||
///
|
||||
static const String groupListener = 'groupListener';
|
||||
|
||||
///高级消息监听
|
||||
///
|
||||
static const String advancedMsgListener = 'advancedMsgListener';
|
||||
|
||||
///会话监听
|
||||
///
|
||||
static const String conversationListener = 'conversationListener';
|
||||
|
||||
///好友关系链监听
|
||||
///
|
||||
static const String friendListener = 'friendListener';
|
||||
|
||||
///信令监听
|
||||
///
|
||||
static const String signalingListener = 'signalingListener';
|
||||
|
||||
static const String messageProgressListener =
|
||||
"messageProgressListener";
|
||||
}
|
||||
18
lib/enum/message_type.dart
Normal file
18
lib/enum/message_type.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
class MessageType {
|
||||
///
|
||||
static const text = 101;
|
||||
|
||||
///
|
||||
static const picture = 102;
|
||||
|
||||
///
|
||||
static const voice = 103;
|
||||
|
||||
///
|
||||
static const video = 104;
|
||||
|
||||
///
|
||||
static const file = 105;
|
||||
|
||||
static const accept_friend = 201;
|
||||
}
|
||||
Reference in New Issue
Block a user