SpotifyUserInformation

constructor(externalUrlsString: Map<String, String>, href: String, id: String, uri: UserUri, country: String? = null, displayName: String? = null, email: String? = null, followers: Followers, images: List<SpotifyImage>? = null, product: String? = null, explicitContentSettings: ExplicitContentSettings? = null, type: String)(source)

Parameters

country

The country of the user, as set in the user’s account profile. An ISO 3166-1 alpha-2 country code. This field is only available when the current user has granted access to the SpotifyScope.UserReadPrivate scope.

displayName

The name displayed on the user’s profile. null if not available.

email

The user’s email address, as entered by the user when creating their account. Important! This email address is unverified; there is no proof that it actually belongs to the user. This field is only available when the current user has granted access to the SpotifyScope.UserReadEmail scope.

followers

Information about the followers of the user.

href

A link to the Web API endpoint for this user.

id

The Spotify user ID for the user

images

The user’s profile image.

product

The user’s Spotify subscription level: “premium”, “free”, etc. (The subscription level “open” can be considered the same as “free”.) This field is only available when the current user has granted access to the SpotifyScope.UserReadPrivate scope.

type

The object type: “user”