Class GetCurrentUsersProfileRequest.Builder

    • Constructor Detail

      • Builder

        public Builder​(java.lang.String accessToken)
        Create a new GetCurrentUsersProfileRequest.Builder.

        Reading the user's email address requires the user-read-email scope; reading country and product subscription level requires the user-read-private scope. Reading the user's birthdate requires the user-read-birthdate scope.

        Parameters:
        accessToken - Required. A valid access token from the Spotify Accounts service.
        See Also:
        Spotify: Using Scopes