mirror of
https://gitee.com/farsunset/cim.git
synced 2025-07-06 17:01:06 +08:00
no message
This commit is contained in:
parent
6248ccd569
commit
a66e319b09
16
README.md
16
README.md
@ -33,7 +33,7 @@
|
|||||||

|

|
||||||
|
|
||||||
##服务端消息 web入口
|
##服务端消息 web入口
|
||||||
#http://192.168.1.11:8080/ichat-server
|
#http://192.168.1.11:8080/cim-server
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -139,20 +139,8 @@ public static void sendRequest(Context context,SentBody body)
|
|||||||
示例:
|
示例:
|
||||||
CIMPushManager.isConnected(context);
|
CIMPushManager.isConnected(context);
|
||||||
|
|
||||||
1.8获取PushManager状态
|
|
||||||
//被销毁的destroy()
|
|
||||||
CIMPushManager.STATE_DESTROYED = 0x0000DE;
|
|
||||||
//被销停止的 stop()
|
|
||||||
CIMPushManager.STATE_STOPED = 0x0000EE;
|
|
||||||
|
|
||||||
CIMPushManager.STATE_NORMAL = 0x000000;
|
1.8推送消息以及相关事件的接收
|
||||||
|
|
||||||
public int getState(Context context)
|
|
||||||
|
|
||||||
示例:
|
|
||||||
CIMPushManager.getState(context);
|
|
||||||
|
|
||||||
1.9推送消息以及相关事件的接收
|
|
||||||
|
|
||||||
首先注册一个广播,并监听以下action 参照 后面androidManifest.xml配置
|
首先注册一个广播,并监听以下action 参照 后面androidManifest.xml配置
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user