MSSetupSession
An object that manages the transfer of configuration information between your app, the system, your media service, and HomePod speakers.
Declaration
class MSSetupSessionOverview
An MSSetupSession object guides the user through connecting HomePod speakers in their home to your media service. When your iOS app calls start(), the session displays a setup view in the window you provide in presentationAnchor(). The session embeds your app icon and the serviceName you provide into this setup view.
[Image]
After the user confirms the setup by tapping the “Use in Home” button, the system requests an OAuth token from your authentication service and shares the token with HomePod speakers in the user’s home.