| Exception | Description |
|---|---|
| AuthenticationFailedException |
Indicates the client failed to authenticate with Spotify.
|
| CouldNotFindSpotifyApp |
A Spotify app that supports App Remote was not found on the device
|
| NotLoggedInException |
Indicates there is no active user session in Spotify that can authorize the request to connect.
|
| OfflineModeException |
Indicates the Spotify user has set their Spotify app to be in offline mode, but app remote
requires a call to be made to the backend.
|
| SpotifyConnectionTerminatedException |
The connection to the Spotify app was terminated
|
| SpotifyDisconnectedException |
The Spotify app was/is disconnected
|
| SpotifyRemoteServiceException |
Encapsulates possible
SecurityException and IllegalStateException errors thrown
by Context.startService(Intent) and Context.startForegroundService(Intent).SecurityException - If the caller does not have permission to access the service or the
service can not be found.IllegalStateException - If the application is in a state where the service can not be
started, be found, or be accessed (such as not in the foreground in a state when services are
allowed). |
| UnsupportedFeatureVersionException |
Indicates the feature set of the Spotify app and the current version of App Remote is not
compatible.
|
| UserNotAuthorizedException |
Indicates the user has not/did not authorize this client of App Remote to use Spotify on the
users behalf.
|