Package com.spotify.sdk.android.auth.app
Class SpotifyAuthHandler
- java.lang.Object
-
- com.spotify.sdk.android.auth.app.SpotifyAuthHandler
-
- All Implemented Interfaces:
AuthorizationHandler
public class SpotifyAuthHandler extends java.lang.Object implements AuthorizationHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.spotify.sdk.android.auth.AuthorizationHandler
AuthorizationHandler.OnCompleteListener
-
-
Constructor Summary
Constructors Constructor Description SpotifyAuthHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setOnCompleteListener(AuthorizationHandler.OnCompleteListener listener)
boolean
start(android.app.Activity contextActivity, AuthorizationRequest request)
void
stop()
-
-
-
Method Detail
-
start
public boolean start(android.app.Activity contextActivity, AuthorizationRequest request)
- Specified by:
start
in interfaceAuthorizationHandler
-
stop
public void stop()
- Specified by:
stop
in interfaceAuthorizationHandler
-
setOnCompleteListener
public void setOnCompleteListener(@Nullable AuthorizationHandler.OnCompleteListener listener)
- Specified by:
setOnCompleteListener
in interfaceAuthorizationHandler
-
-