<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Add track to queue incorrect call back result in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Add-track-to-queue-incorrect-call-back-result/m-p/5205396#M2545</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iPhone 6s)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iOS 14.2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I add track to queue using method (&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT color="#99CC00"&gt;- (&lt;SPAN class=""&gt;&lt;STRONG&gt;void&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;SPAN class=""&gt;enqueueTrackUri&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;SPAN class=""&gt;NSString&lt;/SPAN&gt;*)trackUri &lt;SPAN class=""&gt;callback&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;nullable&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;SPTAppRemoteCallback&lt;/SPAN&gt;)callback;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;). There is call back with incorrect results, because in any case (song was added or not), result of call back always not nill, and error of this callback is always nill. And because of this I can not catch error and retry operation if song is not added to&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Spotify queue.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 15:00:31 GMT</pubDate>
    <dc:creator>Developer12</dc:creator>
    <dc:date>2021-05-17T15:00:31Z</dc:date>
    <item>
      <title>Add track to queue incorrect call back result</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Add-track-to-queue-incorrect-call-back-result/m-p/5205396#M2545</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iPhone 6s)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iOS 14.2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I add track to queue using method (&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT color="#99CC00"&gt;- (&lt;SPAN class=""&gt;&lt;STRONG&gt;void&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;SPAN class=""&gt;enqueueTrackUri&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;SPAN class=""&gt;NSString&lt;/SPAN&gt;*)trackUri &lt;SPAN class=""&gt;callback&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;nullable&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;SPTAppRemoteCallback&lt;/SPAN&gt;)callback;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;). There is call back with incorrect results, because in any case (song was added or not), result of call back always not nill, and error of this callback is always nill. And because of this I can not catch error and retry operation if song is not added to&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Spotify queue.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 15:00:31 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Add-track-to-queue-incorrect-call-back-result/m-p/5205396#M2545</guid>
      <dc:creator>Developer12</dc:creator>
      <dc:date>2021-05-17T15:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add track to queue incorrect call back result</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Add-track-to-queue-incorrect-call-back-result/m-p/5206402#M2554</link>
      <description>&lt;P&gt;We are also looking for an answer on this.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 16:24:54 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Add-track-to-queue-incorrect-call-back-result/m-p/5206402#M2554</guid>
      <dc:creator>Rzn8</dc:creator>
      <dc:date>2021-05-17T16:24:54Z</dc:date>
    </item>
  </channel>
</rss>

