SKCloudServiceController
An object that determines the current capabilities of a person’s Music library.
Declaration
class SKCloudServiceControllerMentioned in
Overview
Use an SKCloudServiceController object to determine the current capabilities of a customer’s Music library, like whether the device allows playback of Apple Music catalog tracks and the addition of tracks to the library.
Topics
Getting authorization to access the Music library
Requesting Access to Apple Music LibraryauthorizationStatus()requestAuthorization(_:)SKCloudServiceAuthorizationStatus
Determining capabilities
Determining a person’s Apple Music capabilitiesrequestUserToken(forDeveloperToken:completionHandler:)requestStorefrontCountryCode(completionHandler:)requestCapabilities(completionHandler:)SKCloudServiceCapabilityrequestStorefrontIdentifier(completionHandler:)requestPersonalizationToken(forClientToken:withCompletionHandler:)