Type Method

authorizationStatus()

Returns the type of authorization the user has set for accessing the music library on the device.

Declaration

class func authorizationStatus() -> SKCloudServiceAuthorizationStatus

Return Value

The type of authorization for music library access. See SKCloudServiceAuthorizationStatus for a list of possible values.

Discussion

Use the authorization status to determine in what ways you can access the user’s music library.

See Also

Getting Authorization to Access the Music Library

class func requestAuthorization((SKCloudServiceAuthorizationStatus) -> Void)

Asks the user for permission to access the music library on the device.

enum SKCloudServiceAuthorizationStatus

Constants that indicate the type of authorization the user has set for accessing the music library.