Class SpotifyInteractions
java.lang.Object
de.klassenserver7b.danceinterpreter.connections.SpotifyInteractions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
se.michaelthelin.spotify.SpotifyApi
boolean
void
void
sendTokenRequest
(SpotifyInteractions interaction) void
-
Field Details
-
CLISEC
- See Also:
-
CLIID
- See Also:
-
REDURI
- See Also:
-
spotifylog
private org.slf4j.Logger spotifylog -
prefs
Preferences prefs -
rtkpath
-
rtk
-
spotifyApi
private se.michaelthelin.spotify.SpotifyApi spotifyApi -
fetchthread
-
expires
public long expires
-
-
Constructor Details
-
SpotifyInteractions
public SpotifyInteractions()
-
-
Method Details
-
initialize
public boolean initialize()- Returns:
-
sendTokenRequest
-
startfetchcycle
public void startfetchcycle() -
refreshToken
public void refreshToken() -
authorize
- Parameters:
code
-
-
getSpotifyApi
public se.michaelthelin.spotify.SpotifyApi getSpotifyApi()
-