Package com.adamratzman.spotify.utils

Types

BufferedImage
Link copied to clipboard
class BufferedImage
typealias BufferedImage = Bitmap
typealias BufferedImage = String
typealias BufferedImage = File
typealias BufferedImage = BufferedImage
ConcurrentHashMap
Link copied to clipboard
class ConcurrentHashMap<K, V>
typealias ConcurrentHashMap = ConcurrentHashMap<K, V>
typealias ConcurrentHashMap = ConcurrentHashMap<K, V>
typealias ConcurrentHashMap = <ERROR CLASS><K, V>
typealias ConcurrentHashMap = HashMap<K, V>
File
Link copied to clipboard
class File
typealias File = File
typealias File = File
typealias File = String
typealias File = File
Language
Link copied to clipboard
common
enum Language : Enum<Language>
ISO 639-1 language code.
Locale
Link copied to clipboard
common
enum Locale : Enum<Locale>
Locale code.
Market
Link copied to clipboard
common
enum Market : Enum<Market>
ISO 3166-1 country code.
Platform
Link copied to clipboard
common
enum Platform : Enum<Platform>
Actual platforms that this program can be run on.
TimeUnit
Link copied to clipboard
common
enum TimeUnit : Enum<TimeUnit>
Represents a unit of time
desktop
enum TimeUnit : Enum<TimeUnit>
Represents a unit of time
js
enum TimeUnit : Enum<TimeUnit>
Represents a unit of time
typealias TimeUnit = TimeUnit
typealias TimeUnit = TimeUnit

Functions

asList
Link copied to clipboard
common
fun <K, V> ConcurrentHashMap<K, V>.asList(): List<Pair<K, V>>
encodeToBase64
Link copied to clipboard
common
fun String.encodeToBase64(): String
fun encodeToBase64(src: ByteArray): ByteArray
getCurrentTimeMs
Link copied to clipboard
common
fun getCurrentTimeMs(): Long
The current time in milliseconds since UNIX epoch.
desktop
fun getCurrentTimeMs(): Long
The current time in milliseconds since UNIX epoch.
js
fun getCurrentTimeMs(): Long
The current time in milliseconds since UNIX epoch.
fun getCurrentTimeMs(): Long
The current time in milliseconds since UNIX epoch.
parseSpotifyCallbackHashToToken
Link copied to clipboard
js
fun parseSpotifyCallbackHashToToken(): Token
Parse the current url into a valid Token to be used when instantiating a new SpotifyImplicitGrantApi
fun parseSpotifyCallbackHashToToken(hashString: String): Token
Parse the hash string into a valid Token to be used when instantiating a new SpotifyImplicitGrantApi

Properties

currentApiPlatform
Link copied to clipboard
val currentApiPlatform: Platform
val currentApiPlatform: Platform
Actual platform that this program is run on.
val currentApiPlatform: Platform
Actual platform that this program is run on.
val currentApiPlatform: Platform
The actual platform that this program is running on.