Updated reame.md
This commit is contained in:
parent
def02746e2
commit
9d80ac5570
@ -145,6 +145,11 @@ JPushover.openClientAPI().open(secret, deviceId, listener)
|
|||||||
listener.onMessage();
|
listener.onMessage();
|
||||||
lsitener.onError();
|
lsitener.onError();
|
||||||
|
|
||||||
|
//Fetch existing messages via message()
|
||||||
|
JPushover
|
||||||
|
.openClientAPI()
|
||||||
|
.messages(secret, deviceId);
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Once new messages are pushed to your device the onMessage method of your message listener is called. If an error occurs, the onError message of your message listener is called.
|
Once new messages are pushed to your device the onMessage method of your message listener is called. If an error occurs, the onError message of your message listener is called.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user