![]() HomePods reach out to your service to resolve intents. Your iOS app must be able to supply these credentials by requesting them from your service and providing them to iOS media setup APIs. As long as someone is using your service from a home, either a renewal token or the original authentication must be supported. This is because without a renewal token flow, the ClientID and ClientSecret could be long-lived. Even though it's uncommon for this flow, the issuing of renewal tokens is recommended, so as to avoid a common reuse of these credentials provided directly to the Auth service. A unique ClientID and ClientSecret is required for each service account that is added to a home. But since your app takes the role of a trusted client, a service that implements client credentials flow is required. It should come as no surprise, since the Cloud Extension APIs use Web technology, we have adopted authentication using an OAuth 2.0 endpoint. Only devices with the profile will be able to test your service. This information will be used to create a development profile you can install on your test and development devices. To register your service, you'll need to provide your service name, a public signing key that you create to verify the service on devices, a static URL to retrieve an icon for your service from iOS devices in the home and a list of bundle IDs of apps which are using the service. And finally, before a HomePod will be able to reach out to your service via the Cloud Extension APIs, you must implement an OAuth flow and a Configuration Web Service defined in our specification. Then you can register your service with us to get entitlements and profiles to begin development. After you apply, you'll receive more details about accessing the Cloud Extension API specification, which your service must implement. You'll need to apply for the program on /siri. To support SiriKit Media Intents on HomePod, your service must already support Media Intents in your iOS app. Once you've taken these steps, you're well on your way to creating an awesome playback experience on HomePod for the people who love your content. Let's start with everything you need to start developing.įirst, we'll cover some important prerequisites for developing a service effectively: how to configure a test home, how to set up your HomePod for testing, how to set up your iOS device for development and, finally, adopting the MediaSetup framework in your app for onboarding your service into a home. ![]() And I'm going to walk you through bringing your media service into the home with SiriKit Media Intents, now powered by Cloud Extensions. I'm a software engineer on the HomePod team.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |