{"version":"0.1.0","code":"0000","result":true,"message":"处理成功","errdetail":"","timestamp":1671508930559,"data":{"id":71712749,"title":"9.6.4 Amap推送POI消息","slug":"ow36zd","format":"lake","bookId":26046811,"body":null,"body_draft":null,"body_html":"

场景图

Amap推送POI消息是Amap推送分享到车机的POI消息。

\"image.png\"

时序图

注意: Amap推送POI消息的接收必须开启消息监听,开启监听之前需要是登录状态,并且与Amap登录同一个账号。

关键参数

核心接口

void com.autonavi.gbl.user.msgpush.observer.IMsgPushServiceObserver.notifyMessage(AmapPoiPushMsg)

ArrayList<AmapPoiPushMsg> com.autonavi.gbl.user.msgpush.MsgPushService.getAimPoiPushMessages()


说明:函数详情,请复制函数名称到在线API搜索

调用示例

public class PushPresenter implements IMsgPushServiceObserver {\n    // 运营推送消息通知\n    @Override\n    public void notifyMessage(AmapPoiPushMsg autoPushMsg) {\n        // 消息数据处理\n    }\n}\n\n// 获取运营消息\nArrayList<AmapPoiPushMsg> autoPoiMsgList = PushPresenter.getInstance().getAimPoiPushMessages();\n


 

","body_lake":null,"pub_level":null,"status":"0","updated_at":"2022-04-06 07:06:02","deleted_at":null,"nameSpace":"mnlcaa/v610","browseCount":124,"collectCount":0,"estimateDate":3,"docStatus":0,"permissions":true,"overView":false}}