getCurrentPlayingTrack

suspend fun getCurrentPlayingTrack(market: String? = null): CurrentPlayingTrack?(source)

Get the track currently played on the user's account

Return

The CurrentPlayingTrack object, can be null if no track is currently played

Parameters

market

(Optional) ISO 3166-1 alpha-2 code of a country. Can also be 'from_token', equivalent to the current users country.