在没有用户交互的情况下获取 glympse url

get glympse url without user interaction

我正在编写一个自动化应用程序,并希望在用户开始开车时自动共享 Glympse 位置,无需用户交互。

我查看了使用 Android 意图的 SDK,看起来我可以填充所有详细信息,但要获得 link,用户仍然需要单击 "Create" 按钮弹出。只有在用户单击 "Create" 按钮后,我才能在我的应用程序中返回创建的 link。

我的应用程序是否可以在没有用户交互的情况下获取 Glympse url?

目前不支持通过 Glympse 应用发送 Glympse 而无需明确的用户操作。使用 Glympse 客户端 SDK 在技术上是可行的,但这样做违背了规定 "Best Practices for Respecting User Privacy" https://developer.glympse.com/docs/core/guidelines

A Glympse sharing event should be initiated only by an explicit user action on the Glympse form (e.g. user needs to tap "Send" on the Glympse form to start the Glympse). In other words, your application may not programmatically invoke the "Send" command on behalf of the user.