public interface EMConnectionListener
EMError
for detailed error description on disconnected限定符和类型 | 方法和说明 |
---|---|
void |
onConnected()
notify listener the connection has been connected
|
void |
onDisconnected(int error)
notify listener the connection is disconnected
|
void onConnected()
void onDisconnected(int error)
error
- see EMError
which define the concrete errorCopyright © 2014 EaseMob.com. All Rights Reserved.