public static interface SpotifyPlayer.InitializationObserver
Modifier and Type | Method and Description |
---|---|
void |
onError(Throwable error)
Called if the player thread failed to initialize.
|
void |
onInitialized(SpotifyPlayer player)
Called when the Player thread is running and ready to process commands.
|
void onInitialized(SpotifyPlayer player)
player
- Initialized instance of the player.void onError(Throwable error)
error
- Error