Skip to content

Commit bbd987f

Browse files
Merge pull request #266 from spotify/0.7.1
App Remote version 0.7.1
2 parents f1600a8 + ba55eff commit bbd987f

File tree

109 files changed

+1056
-576
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1056
-576
lines changed

app-remote-lib/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 0.7.1
2+
* Replaced LoggedOutException usages with NotLoggedInException and removed LoggedOutException completely.
3+
* Introduced VolumeState class and added volume control to ConnectApi
4+
15
# Version 0.7.0
26
* Potentially breaking API change in `ContentApi`. The method `getRecommendedContentItems` will now take a `String` as `type`. We are making this change to support new dynamic categories.
37
* Fixed bug in Track.equals method.

app-remote-lib/ERRORS.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ client has disconnected. The following comprises a list of errors that can be de
1717
CouldNotFindSpotifyApp
1818
```
1919

20-
The Spotify app is not installed on the device. The Spotify Android app must be installed on the
21-
user's device in order for the Spotify App Remote SDK to work. Please see the
22-
["Installing Spotify" section](https://beta.developer.spotify.com/documentation/general/guides/content-linking-guide/)
20+
The Spotify app is not installed on the device. The Spotify Android app must be installed on the
21+
user's device in order for the Spotify App Remote SDK to work. Please see the
22+
["Installing Spotify" section](https://beta.developer.spotify.com/documentation/general/guides/content-linking-guide/)
2323
of the Content Linking guide on how to direct users to download Spotify.
2424

2525
```
@@ -57,14 +57,6 @@ Spotify app can't support requested features. User should update Spotify app.
5757
Spotify user has set their Spotify app to be in offline mode, but app remote requires a call to be
5858
made to the backend. The user needs to disable offline mode in the Spotify app.
5959

60-
```
61-
LoggedOutException
62-
```
63-
64-
User has logged out from Spotify. The difference between this one and `NotLoggedInException` is that
65-
in case of the latter the connection could not have been established. `LoggedOutException` means
66-
that user logged out after Remote SDK connected to Spotify app.
67-
6860
```
6961
SpotifyDisconnectedException
7062
```
@@ -84,6 +76,6 @@ killed by the system. You need to reconnect to continue using Spotify App Remote
8476
SpotifyRemoteServiceException
8577
```
8678

87-
Encapsulates possible `SecurityException` and `IllegalStateException` errors thrown by Context#startService(Intent) and Context#startForegroundService(Intent).
79+
Encapsulates possible `SecurityException` and `IllegalStateException` errors thrown by Context#startService(Intent) and Context#startForegroundService(Intent).
8880
`SecurityException` - If the caller does not have permission to access the service or the service can not be found.
8981
`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).

app-remote-lib/docs/allclasses-frame.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_221) on Wed Nov 20 11:49:20 CET 2019 -->
5+
<!-- Generated by javadoc -->
66
<title>All Classes (Spotify App Remote)</title>
7-
<meta name="date" content="2019-11-20">
87
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
98
<script type="text/javascript" src="script.js"></script>
109
</head>
@@ -13,6 +12,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
1312
<div class="indexContainer">
1413
<ul>
1514
<li><a href="com/spotify/protocol/types/Album.html" title="class in com.spotify.protocol.types" target="classFrame">Album</a></li>
15+
<li><a href="com/spotify/android/appremote/api/AppRemote.html" title="interface in com.spotify.android.appremote.api" target="classFrame"><span class="interfaceName">AppRemote</span></a></li>
1616
<li><a href="com/spotify/protocol/types/Artist.html" title="class in com.spotify.protocol.types" target="classFrame">Artist</a></li>
1717
<li><a href="com/spotify/android/appremote/api/error/AuthenticationFailedException.html" title="class in com.spotify.android.appremote.api.error" target="classFrame">AuthenticationFailedException</a></li>
1818
<li><a href="com/spotify/protocol/client/CallResult.html" title="class in com.spotify.protocol.client" target="classFrame">CallResult</a></li>
@@ -43,7 +43,6 @@ <h1 class="bar">All&nbsp;Classes</h1>
4343
<li><a href="com/spotify/protocol/types/LibraryState.html" title="class in com.spotify.protocol.types" target="classFrame">LibraryState</a></li>
4444
<li><a href="com/spotify/protocol/types/ListItem.html" title="class in com.spotify.protocol.types" target="classFrame">ListItem</a></li>
4545
<li><a href="com/spotify/protocol/types/ListItems.html" title="class in com.spotify.protocol.types" target="classFrame">ListItems</a></li>
46-
<li><a href="com/spotify/android/appremote/api/error/LoggedOutException.html" title="class in com.spotify.android.appremote.api.error" target="classFrame">LoggedOutException</a></li>
4746
<li><a href="com/spotify/protocol/types/Message.html" title="class in com.spotify.protocol.types" target="classFrame">Message</a></li>
4847
<li><a href="com/spotify/protocol/types/MotionState.html" title="class in com.spotify.protocol.types" target="classFrame">MotionState</a></li>
4948
<li><a href="com/spotify/android/appremote/api/error/NotLoggedInException.html" title="class in com.spotify.android.appremote.api.error" target="classFrame">NotLoggedInException</a></li>
@@ -82,6 +81,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
8281
<li><a href="com/spotify/android/appremote/api/UserApi.html" title="interface in com.spotify.android.appremote.api" target="classFrame"><span class="interfaceName">UserApi</span></a></li>
8382
<li><a href="com/spotify/android/appremote/api/error/UserNotAuthorizedException.html" title="class in com.spotify.android.appremote.api.error" target="classFrame">UserNotAuthorizedException</a></li>
8483
<li><a href="com/spotify/protocol/types/UserStatus.html" title="class in com.spotify.protocol.types" target="classFrame">UserStatus</a></li>
84+
<li><a href="com/spotify/protocol/types/VolumeState.html" title="class in com.spotify.protocol.types" target="classFrame">VolumeState</a></li>
8585
<li><a href="com/spotify/protocol/types/WelcomeDetails.html" title="class in com.spotify.protocol.types" target="classFrame">WelcomeDetails</a></li>
8686
</ul>
8787
</div>

app-remote-lib/docs/allclasses-noframe.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_221) on Wed Nov 20 11:49:20 CET 2019 -->
5+
<!-- Generated by javadoc -->
66
<title>All Classes (Spotify App Remote)</title>
7-
<meta name="date" content="2019-11-20">
87
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
98
<script type="text/javascript" src="script.js"></script>
109
</head>
@@ -13,6 +12,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
1312
<div class="indexContainer">
1413
<ul>
1514
<li><a href="com/spotify/protocol/types/Album.html" title="class in com.spotify.protocol.types">Album</a></li>
15+
<li><a href="com/spotify/android/appremote/api/AppRemote.html" title="interface in com.spotify.android.appremote.api"><span class="interfaceName">AppRemote</span></a></li>
1616
<li><a href="com/spotify/protocol/types/Artist.html" title="class in com.spotify.protocol.types">Artist</a></li>
1717
<li><a href="com/spotify/android/appremote/api/error/AuthenticationFailedException.html" title="class in com.spotify.android.appremote.api.error">AuthenticationFailedException</a></li>
1818
<li><a href="com/spotify/protocol/client/CallResult.html" title="class in com.spotify.protocol.client">CallResult</a></li>
@@ -43,7 +43,6 @@ <h1 class="bar">All&nbsp;Classes</h1>
4343
<li><a href="com/spotify/protocol/types/LibraryState.html" title="class in com.spotify.protocol.types">LibraryState</a></li>
4444
<li><a href="com/spotify/protocol/types/ListItem.html" title="class in com.spotify.protocol.types">ListItem</a></li>
4545
<li><a href="com/spotify/protocol/types/ListItems.html" title="class in com.spotify.protocol.types">ListItems</a></li>
46-
<li><a href="com/spotify/android/appremote/api/error/LoggedOutException.html" title="class in com.spotify.android.appremote.api.error">LoggedOutException</a></li>
4746
<li><a href="com/spotify/protocol/types/Message.html" title="class in com.spotify.protocol.types">Message</a></li>
4847
<li><a href="com/spotify/protocol/types/MotionState.html" title="class in com.spotify.protocol.types">MotionState</a></li>
4948
<li><a href="com/spotify/android/appremote/api/error/NotLoggedInException.html" title="class in com.spotify.android.appremote.api.error">NotLoggedInException</a></li>
@@ -82,6 +81,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
8281
<li><a href="com/spotify/android/appremote/api/UserApi.html" title="interface in com.spotify.android.appremote.api"><span class="interfaceName">UserApi</span></a></li>
8382
<li><a href="com/spotify/android/appremote/api/error/UserNotAuthorizedException.html" title="class in com.spotify.android.appremote.api.error">UserNotAuthorizedException</a></li>
8483
<li><a href="com/spotify/protocol/types/UserStatus.html" title="class in com.spotify.protocol.types">UserStatus</a></li>
84+
<li><a href="com/spotify/protocol/types/VolumeState.html" title="class in com.spotify.protocol.types">VolumeState</a></li>
8585
<li><a href="com/spotify/protocol/types/WelcomeDetails.html" title="class in com.spotify.protocol.types">WelcomeDetails</a></li>
8686
</ul>
8787
</div>

0 commit comments

Comments
 (0)