MethodChannelEchatFlutterSdk class
An implementation of EChatFlutterSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- EChatFlutterSdkPlatform
- MethodChannelEchatFlutterSdk
Constructors
Properties
- countChannel → EventChannel
-
count信道, 用于未读消息数传递
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearUserInfo(
) → Future< bool> -
override
-
closeAllChats(
) → Future< bool> -
override
-
closeConnection(
) → Future< bool> -
override
-
getUnreadMsgCount(
void msgCountCallBack(int count)) → Future< void> -
override
-
getUserInfo(
) → Future< EchatUserInfo?> -
override
-
init(
) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openBox(
{String? echatTag}) → Future< void> -
override
-
openChat(
{required int companyId, EchatVisEvtModel? visEvt, String? echatTag, String? myData, String? routeEntranceId, String? acdStaffId, String? acdType, EchatFMModel? fm}) → Future< void> -
override
-
setConfig(
{required String appId, required String appSecret, required String serverAppId, required String serverEncodingKey, required String serverToken, required int companyId, required bool isAgreePrivacy, String? serverUrl}) → Future< bool> -
override
-
setDebug(
{required bool debug}) → Future< void> -
override
-
setUserInfo(
EchatUserInfo userInfo) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited