PlayerInit

interface PlayerInit

Options for instantiating the Player

Functions

equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
getOAuthToken
Link copied to clipboard
js
abstract fun getOAuthToken(cb: (token: String) -> Unit)
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
toString
Link copied to clipboard
js
open fun toString(): String

Properties

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

Sources

(source)
Link copied to clipboard