PlayerInit

external interface PlayerInit

Options for instantiating the Player

Functions

getOAuthToken
Link copied to clipboard
js
abstract fun getOAuthToken(cb: (token: String) -> Unit)

Properties

name
Link copied to clipboard
js
abstract var name: String
The name of the Spotify Connect player.
volume
Link copied to clipboard
js
open var volume: Number?
The default volume of the player.

Sources

js source
Link copied to clipboard