<?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 Re: loadStreamableURLForFile in Swift in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166957#M6054</link>
    <description>&lt;P&gt;What exactly happens when "AVAsset does not get created properly"? Do you get an error?&lt;/P&gt;
&lt;P&gt;I suspect the issue is that a shared link doesn't directly point to the file content, but rather an HTML preview. You can modify these links for direct content access though, as shown here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/help/201" rel="nofollow noreferrer"&gt;https://www.dropbox.com/help/201&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Note that this isn't really recommended however, as these links are listed on&amp;nbsp;&lt;A href="https://www.dropbox.com/links" rel="nofollow noreferrer"&gt;https://www.dropbox.com/links&lt;/A&gt;, which may confuse users.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 19 Mar 2016 01:47:47 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-03-19T01:47:47Z</dc:date>
    <item>
      <title>loadStreamableURLForFile in Swift</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166954#M6051</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;We used DBRestClient.loadStreamableURLForFile to get NSURL for videos. Is there a similar call in SwiftyDropbox?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:34:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166954#M6051</guid>
      <dc:creator>sigrem</dc:creator>
      <dc:date>2019-05-29T09:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: loadStreamableURLForFile in Swift</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166955#M6052</link>
      <description>&lt;P&gt;API v2 and SwiftyDropbox don't currently have an equivalent of loadStreamableURLForFile,&amp;nbsp;but I'll be sure to pass this along as a feature request.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 23:58:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166955#M6052</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-18T23:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: loadStreamableURLForFile in Swift</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166956#M6053</link>
      <description>&lt;P&gt;Thanks Gregory for your quick response.&lt;/P&gt;
&lt;P&gt;I need to get a streamable url for video to pass to AVAsset. Please see the code below where I try to use createSharedLink but seems AVAsset does not get created properly. Any other call I should use instead?&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;client.&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;sharing&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;createSharedLink&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(path: &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;self&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;dbPath&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;).&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;response&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;({ (md: &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sharing&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;PathLinkMetadata&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;?, error: &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;CallError&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&amp;lt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;Sharing&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;CreateSharedLinkError&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&amp;gt;?) -&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;Void&lt;/SPAN&gt; &lt;SPAN class="s4"&gt;in&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;if&lt;/SPAN&gt; &lt;SPAN class="s4"&gt;let&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; result = md {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;let&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; url = result.&lt;/SPAN&gt;&lt;SPAN class="s6"&gt;url&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;let&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; avasset = &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;AVAsset&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(URL: url)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.......&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;else&lt;/SPAN&gt; &lt;SPAN class="s4"&gt;if&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; error != &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;nil&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s6"&gt;NSDivLog&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;log&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;"Error getting shared url. &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;\&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;error&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;)"&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;})&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2016 01:44:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166956#M6053</guid>
      <dc:creator>sigrem</dc:creator>
      <dc:date>2016-03-19T01:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: loadStreamableURLForFile in Swift</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166957#M6054</link>
      <description>&lt;P&gt;What exactly happens when "AVAsset does not get created properly"? Do you get an error?&lt;/P&gt;
&lt;P&gt;I suspect the issue is that a shared link doesn't directly point to the file content, but rather an HTML preview. You can modify these links for direct content access though, as shown here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/help/201" rel="nofollow noreferrer"&gt;https://www.dropbox.com/help/201&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Note that this isn't really recommended however, as these links are listed on&amp;nbsp;&lt;A href="https://www.dropbox.com/links" rel="nofollow noreferrer"&gt;https://www.dropbox.com/links&lt;/A&gt;, which may confuse users.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2016 01:47:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/loadStreamableURLForFile-in-Swift/m-p/166957#M6054</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-19T01:47:47Z</dc:date>
    </item>
  </channel>
</rss>

