Edytuj

Udostępnij za pośrednictwem


SKCloudServiceAuthorizationStatus Enum

Definition

Enumerates authorization states for music store access.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SKCloudServiceAuthorizationStatus
type SKCloudServiceAuthorizationStatus = 
Inheritance
SKCloudServiceAuthorizationStatus
Attributes

Fields

Name Value Description
NotDetermined 0

Indicates that the authorization state cannot be determined.

Denied 1

Indicates that the user has denied access to their music library.

Restricted 2

Indicates that access to the user's music library is restricted and that the user cannot change the authorization status.

Authorized 3

Indicates that authorization has been given to play Apple Music tracks and to add tracks to the user's music library.

Applies to