简体   繁体   English

Spotify和Google的Waze集成组件如何工作?

[英]How Spotify and Google’s Waze integration component works?

Lately, I have seen that Waze shows a Spotify's button on top of its map. 最近,我看到Waze在其地图顶部显示了Spotify的按钮。 I was wondering how does it work? 我想知道它是如何工作的?

在此处输入图片说明

At first, when you press the Spotify button you are getting redirected to Spotify via an url-scheme (probably spotify://waze?example) then you approve the use and get back with a session (with a waze://) I guess. 首先,当您按下Spotify按钮时,您将通过url方案(可能是spotify:// waze?example)重定向到Spotify,然后您批准使用并返回一个会话(使用waze://)猜测。

So I understand the binding process but how does the Spotify component work inside the Waze app. 因此,我了解了绑定过程,但是Spotify组件在Waze应用程序中如何工作。 Let's say I'm pressing the pause button or next song. 假设我按下暂停按钮或下一首歌曲。 What's happen? 发生了什么?

One thing I have noticed. 我注意到的一件事。 To resume playing go to the next song or add to favorites they are using some other functionality that I don't recognize 要继续播放,请转到下一首歌曲或将其添加到收藏夹,他们使用的是我无法识别的其他功能

It's two-way integration between the services according to the Waze Official Blog + iOS 根据Waze官方博客 + iOS ,这是服务之间的双向集成

Also, Spotify has Spotify iOS SDK which allows you to implement some features in your own apps. 此外,Spotify还具有Spotify iOS SDK ,可让您在自己的应用程序中实现某些功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM