BMXUserServiceListener
类 BMXUserServiceListener
-
java.lang.Object
-
- im.floo.floolib.BMXUserServiceListener
-
public class BMXUserServiceListener extends java.lang.Object
用户状态监听者
-
-
字段概要
字段
限定符和类型 字段和说明 protected boolean
swigCMemOwn
-
构造器概要
构造器
限定符 构造器和说明 BMXUserServiceListener()
protected
BMXUserServiceListener(long cPtr, boolean cMemoryOwn)
-
方法概要
所有方法 静态方法 实例方法 具体方法
限定符和类型 方法和说明 void
delete()
protected void
finalize()
protected static long
getCPtr(BMXUserServiceListener obj)
void
onConnectStatusChanged(BMXConnectStatus status)
链接状态发生变化void
onInfoUpdated(BMXUserProfile profile)
同步用户信息更新(其他设备操作发生用户信息变更)void
onOtherDeviceSingIn(int deviceSN)
用户在其他设备上登陆void
onOtherDeviceSingOut(int deviceSN)
用户在其他设备上登出void
onUserSignIn(BMXUserProfile profile)
用户登陆void
onUserSignOut(BMXErrorCode error, long userId)
用户登出protected void
swigDirectorDisconnect()
void
swigReleaseOwnership()
void
swigTakeOwnership()
-
从类继承的方法 java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
字段详细资料
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
构造器详细资料
-
BMXUserServiceListener
protected BMXUserServiceListener(long cPtr, boolean cMemoryOwn)
-
BMXUserServiceListener
public BMXUserServiceListener()
-
-
方法详细资料
-
getCPtr
protected static long getCPtr(BMXUserServiceListener obj)
-
finalize
protected void finalize()
覆盖:
finalize
在类中java.lang.Object
-
delete
public void delete()
-
swigDirectorDisconnect
protected void swigDirectorDisconnect()
-
swigReleaseOwnership
public void swigReleaseOwnership()
-
swigTakeOwnership
public void swigTakeOwnership()
-
onConnectStatusChanged
public void onConnectStatusChanged(BMXConnectStatus status)
链接状态发生变化
参数:
status
- 连接状态 -
onUserSignIn
public void onUserSignIn(BMXUserProfile profile)
用户登陆
参数:
profile
- 用户profile -
onUserSignOut
public void onUserSignOut(BMXErrorCode error, long userId)
用户登出
参数:
error
- 状态错误码 -
onInfoUpdated
public void onInfoUpdated(BMXUserProfile profile)
同步用户信息更新(其他设备操作发生用户信息变更)
参数:
profile
- 用户profile -
onOtherDeviceSingIn
public void onOtherDeviceSingIn(int deviceSN)
用户在其他设备上登陆
参数:
deviceSN
- 设备序列号 -
onOtherDeviceSingOut
public void onOtherDeviceSingOut(int deviceSN)
用户在其他设备上登出
参数:
deviceSN
- 设备序列号
-
-
文档反馈
(如有产品使用问题,请 提交工单)