Enum Class Scope

java.lang.Object
java.lang.Enum<Scope>
de.sonallux.spotify.api.authorization.Scope
All Implemented Interfaces:
Serializable, Comparable<Scope>, Constable

public enum Scope extends Enum<Scope>
  • Enum Constant Details

    • APP_REMOTE_CONTROL

      public static final Scope APP_REMOTE_CONTROL
      Communicate with the Spotify app on your device.
    • PLAYLIST_MODIFY_PRIVATE

      public static final Scope PLAYLIST_MODIFY_PRIVATE
      Manage your private playlists.
    • PLAYLIST_MODIFY_PUBLIC

      public static final Scope PLAYLIST_MODIFY_PUBLIC
      Manage your public playlists.
    • PLAYLIST_READ_COLLABORATIVE

      public static final Scope PLAYLIST_READ_COLLABORATIVE
      Access your collaborative playlists.
    • PLAYLIST_READ_PRIVATE

      public static final Scope PLAYLIST_READ_PRIVATE
      Access your private playlists.
    • STREAMING

      public static final Scope STREAMING
      Play content and control playback on your other devices.
    • UGC_IMAGE_UPLOAD

      public static final Scope UGC_IMAGE_UPLOAD
      Upload images to Spotify on your behalf.
    • USER_FOLLOW_MODIFY

      public static final Scope USER_FOLLOW_MODIFY
      Manage your saved content.
    • USER_FOLLOW_READ

      public static final Scope USER_FOLLOW_READ
      Access your followers and who you are following.
    • USER_LIBRARY_MODIFY

      public static final Scope USER_LIBRARY_MODIFY
      Manage your saved content.
    • USER_LIBRARY_READ

      public static final Scope USER_LIBRARY_READ
      Access your saved content.
    • USER_MODIFY_PLAYBACK_STATE

      public static final Scope USER_MODIFY_PLAYBACK_STATE
      Control playback on your Spotify clients and Spotify Connect devices.
    • USER_READ_CURRENTLY_PLAYING

      public static final Scope USER_READ_CURRENTLY_PLAYING
      Read your currently playing content.
    • USER_READ_EMAIL

      public static final Scope USER_READ_EMAIL
      Get your real email address.
    • USER_READ_PLAYBACK_POSITION

      public static final Scope USER_READ_PLAYBACK_POSITION
      Read your position in content you have played.
    • USER_READ_PLAYBACK_STATE

      public static final Scope USER_READ_PLAYBACK_STATE
      Read your currently playing content and Spotify Connect devices information.
    • USER_READ_PRIVATE

      public static final Scope USER_READ_PRIVATE
      Access your subscription details.
    • USER_READ_RECENTLY_PLAYED

      public static final Scope USER_READ_RECENTLY_PLAYED
      Access your recently played items.
    • USER_TOP_READ

      public static final Scope USER_TOP_READ
      Read your top artists and content.
  • Method Details

    • values

      public static Scope[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Scope valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()