Spotify Implicit Login Activity
interface SpotifyImplicitLoginActivity
Content copied to clipboard
Wrapper around spotify-auth's LoginActivity that allows configuration of the authentication process, along with callbacks on successful and failed authentication. Pair this with SpotifyDefaultCredentialStore to easily store credentials. To use, you must extend from either AbstractSpotifyAppImplicitLoginActivity or AbstractSpotifyAppCompatImplicitLoginActivity
Functions
getRequestingScopes
Link copied to clipboard
onSuccess
Link copied to clipboard
processActivityResult
Link copied to clipboard
open fun processActivityResult(requestCode: Int, resultCode: Int, intent: Intent?)
Content copied to clipboard
redirectAfterOnSuccessAuthentication
Link copied to clipboard
open fun redirectAfterOnSuccessAuthentication()
Content copied to clipboard
Override this to define what to do after onSuccess has run.
triggerLoginActivity
Link copied to clipboard
open fun triggerLoginActivity()
Content copied to clipboard
Properties
redirectUri
Link copied to clipboard
useDefaultRedirectHandler
Link copied to clipboard
Disable if you will not be using useDefaultRedirectHandler but will be setting SpotifyDefaultImplicitAuthHelper.
Inheritors
AbstractSpotifyAppCompatImplicitLoginActivity
Link copied to clipboard
AbstractSpotifyAppImplicitLoginActivity
Link copied to clipboard
Sources
(source)
Link copied to clipboard