SpotifyImage

data class SpotifyImage(height: Int?, url: String, width: Int?)

A Spotify image

Parameters

height

The image height in pixels. If unknown: null or not returned.

url

The source URL of the image.

width

The image width in pixels. If unknown: null or not returned.

Constructors

SpotifyImage
Link copied to clipboard
common
fun SpotifyImage(height: Int? = null, url: String, width: Int? = null)
The image height in pixels.

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int?
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): Int?
copy
Link copied to clipboard
common
fun copy(height: Int? = null, url: String, width: Int? = null): SpotifyImage
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

height
Link copied to clipboard
common
val height: Int? = null
The image height in pixels.
url
Link copied to clipboard
common
val url: String
The source URL of the image.
width
Link copied to clipboard
common
val width: Int? = null
The image width in pixels.

Sources

(source)
Link copied to clipboard