SyClientInterface class abstract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addConnectListener(
OnDartConnectListener connectListener) → void - 添加链接监听
-
addContactListener(
OnContactListener onContactListener) → void -
chatManager(
) → ChatManagerInterface -
contactManager(
) → ContactManagerInterface -
conversationManager(
) → ConversationManagerInterface -
init(
{SyOptions syOptions}) → void - 初始化SDK
-
loginByToken(
{required String token, required SyCallBack< AuthInfo> callback}) → void - 通过token登录,token由第三方业务后台调用API获取
-
loginByUUID(
{required String uuid, required SyCallBack< AuthInfo> callback}) → void - 通过业务方用户ID直接登录
-
logOut(
{required SyCallBack< String> callback}) → void - 退出登录
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeConnectListener(
OnDartConnectListener onConnectListener) → void - 移除链接监听
-
removeContactListener(
OnContactListener onContactListener) → void -
sessionManager(
) → SessionManagerInterface -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited