文章详情页
java - 极光推送怎么判断用户在线状态
浏览:157日期:2023-12-21 17:18:13
问题描述
可以直接推送消息,但是判断是否在线抛异常:
Got error response - responseCode:403, responseContent:{'error':{'code':2004,'message':'Need permission to perform this action.'}}Request is forbidden! Maybe your appkey is listed in blacklist or your params is invalid.
调用的方法:public Map<String,OnlineStatus> getUserOnlineStatus(String... registrationIds)
throws cn.jiguang.common.resp.APIConnectionException,cn.jiguang.common.resp.APIRequestException
问题解答
回答1:403拒绝访问这个接口是付费调用的吧。
标签:
java
相关文章:
排行榜

网公网安备