toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-music-api
/
com.mapbox.dash.music.api
/
SpotifyTrack
Spotify
Track
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
SpotifyTrack
(
val
artistName
:
String
,
val
name
:
String
,
val
imageUri
:
String
?
,
val
isPaused
:
Boolean
,
imageFactory
:
suspend
(
url
:
String
)
->
Bitmap
?
)
Members
Constructors
Spotify
Track
Link copied to clipboard
constructor
(
artistName
:
String
,
name
:
String
,
imageUri
:
String
?
,
isPaused
:
Boolean
,
imageFactory
:
suspend
(
url
:
String
)
->
Bitmap
?
)
Properties
artist
Name
Link copied to clipboard
val
artistName
:
String
image
Uri
Link copied to clipboard
val
imageUri
:
String
?
is
Paused
Link copied to clipboard
val
isPaused
:
Boolean
name
Link copied to clipboard
val
name
:
String
Functions
image
Link copied to clipboard
suspend
fun
image
(
)
:
Bitmap
?