开发者

Referencing the geolocation prompt

I have a scenario where I need to start a process only after a user clicks to 'Share Location' in the automatic prompt displayed.

Is there anyway I can reference the prompt or detect when a user has clicked to 'share location' or other possible way t开发者_如何学Pythono achieve this?


Why don't you simply pass in a successCallback and an errorCallback. If one of those is called, then you know that the user has authorized (or declined) the access.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜