JCClientImpl class
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
-
addCallback(
JCClientCallback callback) → bool -
添加回调
override
-
createNativeJCClient(
String appKey, JCClientCallback callback, CreateParam? createParam) → Future< bool> -
调用native 创建JCClient
override
-
destroyObj(
) → Future< bool> -
销毁对象
override
-
getAppkey(
) → Future< String?> -
获取Appkey
override
-
getCreateParam(
) → Future< CreateParam> -
获取创建参数
override
-
getDisplayName(
) → Future< String?> -
获取自己的昵称
override
-
getLoginParam(
) → Future< LoginParam> -
获取登录参数
override
-
getServerAddress(
) → Future< String> -
获取登录服务器地址
override
-
getServerUid(
) → Future< String> -
获取自己在服务器上的 uid
override
-
getState(
) → Future< int> -
获取当前登录状态
override
-
getUserId(
) → Future< String?> -
获得用户标识
override
-
login(
String userId, String password, LoginParam loginParam) → Future< bool> -
登录 Juphoon Cloud 平台
override
-
logout(
) → Future< bool> -
登出 Juphoon Cloud 平台
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
relogin(
String userId, String password, LoginParam loginParam) → Future< bool> -
重登录
override
-
removeCallback(
JCClientCallback callback) → bool -
删除回调
override
-
sendOnlineMessage(
String userId, String content) → Future< int> -
发送在线消息
override
-
setDisplayName(
String displayName) → Future< bool> -
设置自己的昵称
override
-
setForeground(
bool foreground) → Future< bool> -
是否设置为前台
override
-
setServerAddress(
String serverAddress) → Future< bool> -
设置登录服务器地址
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited