-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
263 changed files
with
4,343 additions
and
1,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
<a title="Classes Reference"></a> | ||
<header> | ||
<div class="content-wrapper"> | ||
<p><a href="index.html">AliyunpanSDK 0.1.0 Docs</a> (41% documented)</p> | ||
<p><a href="index.html">AliyunpanSDK 1.0 Docs</a> (41% documented)</p> | ||
<div class="header-right"> | ||
<form role="search" action="search.json"> | ||
<input type="text" placeholder="Search documentation" data-typeahead> | ||
|
@@ -169,6 +169,9 @@ | |
<li class="nav-group-task"> | ||
<a href="Enums/AliyunpanNetworkSystemError.html">AliyunpanNetworkSystemError</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="Enums/DownloadState.html">DownloadState</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="Enums/HTTPMethod.html">HTTPMethod</a> | ||
</li> | ||
|
@@ -199,6 +202,9 @@ | |
<li class="nav-group-task"> | ||
<a href="Structs/AliyunpanClientConfig.html">AliyunpanClientConfig</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="Structs/AliyunpanDownloadResult.html">AliyunpanDownloadResult</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="Structs/AliyunpanFile.html">AliyunpanFile</a> | ||
</li> | ||
|
@@ -244,9 +250,6 @@ | |
<li class="nav-group-task"> | ||
<a href="Structs/AliyunpanToken.html">AliyunpanToken</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="Structs/DownloadResult.html">DownloadResult</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="Structs/HTTPHeader.html">HTTPHeader</a> | ||
</li> | ||
|
@@ -469,7 +472,7 @@ <h4>Declaration</h4> | |
</section> | ||
</section> | ||
<section id="footer"> | ||
<p>© 2023 <a class="link" href="https://github.com/alibaba/AliyunpanSDK" target="_blank" rel="external noopener">[email protected]</a>. All rights reserved. (Last updated: 2023-12-06)</p> | ||
<p>© 2023 <a class="link" href="https://github.com/alibaba/aliyunpan-ios-sdk" target="_blank" rel="external noopener">zhaixian</a>. All rights reserved. (Last updated: 2023-12-12)</p> | ||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p> | ||
</section> | ||
</article> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
<a title="Aliyunpan Class Reference"></a> | ||
<header> | ||
<div class="content-wrapper"> | ||
<p><a href="../index.html">AliyunpanSDK 0.1.0 Docs</a> (41% documented)</p> | ||
<p><a href="../index.html">AliyunpanSDK 1.0 Docs</a> (41% documented)</p> | ||
<div class="header-right"> | ||
<form role="search" action="../search.json"> | ||
<input type="text" placeholder="Search documentation" data-typeahead> | ||
|
@@ -169,6 +169,9 @@ | |
<li class="nav-group-task"> | ||
<a href="../Enums/AliyunpanNetworkSystemError.html">AliyunpanNetworkSystemError</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/DownloadState.html">DownloadState</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/HTTPMethod.html">HTTPMethod</a> | ||
</li> | ||
|
@@ -199,6 +202,9 @@ | |
<li class="nav-group-task"> | ||
<a href="../Structs/AliyunpanClientConfig.html">AliyunpanClientConfig</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/AliyunpanDownloadResult.html">AliyunpanDownloadResult</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/AliyunpanFile.html">AliyunpanFile</a> | ||
</li> | ||
|
@@ -244,9 +250,6 @@ | |
<li class="nav-group-task"> | ||
<a href="../Structs/AliyunpanToken.html">AliyunpanToken</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/DownloadResult.html">DownloadResult</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/HTTPHeader.html">HTTPHeader</a> | ||
</li> | ||
|
@@ -443,7 +446,7 @@ <h4>Declaration</h4> | |
</section> | ||
</section> | ||
<section id="footer"> | ||
<p>© 2023 <a class="link" href="https://github.com/alibaba/AliyunpanSDK" target="_blank" rel="external noopener">[email protected]</a>. All rights reserved. (Last updated: 2023-12-06)</p> | ||
<p>© 2023 <a class="link" href="https://github.com/alibaba/aliyunpan-ios-sdk" target="_blank" rel="external noopener">zhaixian</a>. All rights reserved. (Last updated: 2023-12-12)</p> | ||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p> | ||
</section> | ||
</article> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
<a title="Environment Enumeration Reference"></a> | ||
<header> | ||
<div class="content-wrapper"> | ||
<p><a href="../../index.html">AliyunpanSDK 0.1.0 Docs</a> (41% documented)</p> | ||
<p><a href="../../index.html">AliyunpanSDK 1.0 Docs</a> (41% documented)</p> | ||
<div class="header-right"> | ||
<form role="search" action="../../search.json"> | ||
<input type="text" placeholder="Search documentation" data-typeahead> | ||
|
@@ -169,6 +169,9 @@ | |
<li class="nav-group-task"> | ||
<a href="../../Enums/AliyunpanNetworkSystemError.html">AliyunpanNetworkSystemError</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/DownloadState.html">DownloadState</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/HTTPMethod.html">HTTPMethod</a> | ||
</li> | ||
|
@@ -199,6 +202,9 @@ | |
<li class="nav-group-task"> | ||
<a href="../../Structs/AliyunpanClientConfig.html">AliyunpanClientConfig</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/AliyunpanDownloadResult.html">AliyunpanDownloadResult</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/AliyunpanFile.html">AliyunpanFile</a> | ||
</li> | ||
|
@@ -244,9 +250,6 @@ | |
<li class="nav-group-task"> | ||
<a href="../../Structs/AliyunpanToken.html">AliyunpanToken</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/DownloadResult.html">DownloadResult</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/HTTPHeader.html">HTTPHeader</a> | ||
</li> | ||
|
@@ -333,7 +336,7 @@ <h4>Declaration</h4> | |
</section> | ||
</section> | ||
<section id="footer"> | ||
<p>© 2023 <a class="link" href="https://github.com/alibaba/AliyunpanSDK" target="_blank" rel="external noopener">[email protected]</a>. All rights reserved. (Last updated: 2023-12-06)</p> | ||
<p>© 2023 <a class="link" href="https://github.com/alibaba/aliyunpan-ios-sdk" target="_blank" rel="external noopener">zhaixian</a>. All rights reserved. (Last updated: 2023-12-12)</p> | ||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p> | ||
</section> | ||
</article> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
<a title="AliyunpanClient Class Reference"></a> | ||
<header> | ||
<div class="content-wrapper"> | ||
<p><a href="../index.html">AliyunpanSDK 0.1.0 Docs</a> (41% documented)</p> | ||
<p><a href="../index.html">AliyunpanSDK 1.0 Docs</a> (41% documented)</p> | ||
<div class="header-right"> | ||
<form role="search" action="../search.json"> | ||
<input type="text" placeholder="Search documentation" data-typeahead> | ||
|
@@ -169,6 +169,9 @@ | |
<li class="nav-group-task"> | ||
<a href="../Enums/AliyunpanNetworkSystemError.html">AliyunpanNetworkSystemError</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/DownloadState.html">DownloadState</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Enums/HTTPMethod.html">HTTPMethod</a> | ||
</li> | ||
|
@@ -199,6 +202,9 @@ | |
<li class="nav-group-task"> | ||
<a href="../Structs/AliyunpanClientConfig.html">AliyunpanClientConfig</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/AliyunpanDownloadResult.html">AliyunpanDownloadResult</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/AliyunpanFile.html">AliyunpanFile</a> | ||
</li> | ||
|
@@ -244,9 +250,6 @@ | |
<li class="nav-group-task"> | ||
<a href="../Structs/AliyunpanToken.html">AliyunpanToken</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/DownloadResult.html">DownloadResult</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/HTTPHeader.html">HTTPHeader</a> | ||
</li> | ||
|
@@ -467,13 +470,10 @@ <h4>Declaration</h4> | |
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:12AliyunpanSDK0A6ClientC10downloader_2to27maxConcurrentOperationCountAA0A10DownloaderCAA0A4FileV_10Foundation3URLVSitYaKF"></a> | ||
<a name="/s:12AliyunpanSDK0A6ClientC10downloader_2to27maxConcurrentOperationCountAA0A10DownloaderCAA0A4FileV_10Foundation3URLVSitF"></a> | ||
<a name="//apple_ref/swift/Method/downloader(_:to:maxConcurrentOperationCount:)" class="dashAnchor"></a> | ||
<a class="token" href="#/s:12AliyunpanSDK0A6ClientC10downloader_2to27maxConcurrentOperationCountAA0A10DownloaderCAA0A4FileV_10Foundation3URLVSitYaKF">downloader(_:<wbr>to:<wbr>maxConcurrentOperationCount:<wbr>)</a> | ||
<a class="token" href="#/s:12AliyunpanSDK0A6ClientC10downloader_2to27maxConcurrentOperationCountAA0A10DownloaderCAA0A4FileV_10Foundation3URLVSitF">downloader(_:<wbr>to:<wbr>maxConcurrentOperationCount:<wbr>)</a> | ||
</code> | ||
<span class="declaration-note"> | ||
Asynchronous | ||
</span> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
|
@@ -490,7 +490,7 @@ <h4>Declaration</h4> | |
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">downloader</span><span class="p">(</span> | ||
<span class="n">_</span> <span class="nv">file</span><span class="p">:</span> <span class="kt"><a href="../Structs/AliyunpanFile.html">AliyunpanFile</a></span><span class="p">,</span> | ||
<span class="n">to</span> <span class="nv">destination</span><span class="p">:</span> <span class="kt">URL</span><span class="p">,</span> | ||
<span class="nv">maxConcurrentOperationCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">10</span><span class="p">)</span> <span class="k">async</span> <span class="k">throws</span> <span class="o">-></span> <span class="kt"><a href="../Classes/AliyunpanDownloader.html">AliyunpanDownloader</a></span></code></pre> | ||
<span class="nv">maxConcurrentOperationCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">10</span><span class="p">)</span> <span class="o">-></span> <span class="kt"><a href="../Classes/AliyunpanDownloader.html">AliyunpanDownloader</a></span></code></pre> | ||
|
||
</div> | ||
</div> | ||
|
@@ -540,98 +540,12 @@ <h4>Parameters</h4> | |
</section> | ||
</div> | ||
</li> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:12AliyunpanSDK0A6ClientC10downloader11downloadURL8fileSize2to27maxConcurrentOperationCountAA0A10DownloaderC10Foundation0F0V_s5Int64VAMSitF"></a> | ||
<a name="//apple_ref/swift/Method/downloader(downloadURL:fileSize:to:maxConcurrentOperationCount:)" class="dashAnchor"></a> | ||
<a class="token" href="#/s:12AliyunpanSDK0A6ClientC10downloader11downloadURL8fileSize2to27maxConcurrentOperationCountAA0A10DownloaderC10Foundation0F0V_s5Int64VAMSitF">downloader(downloadURL:<wbr>fileSize:<wbr>to:<wbr>maxConcurrentOperationCount:<wbr>)</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
<p>下载文件,会根据 4_000_000 字节自动分片</p> | ||
|
||
</div> | ||
<div class="declaration"> | ||
<h4>Declaration</h4> | ||
<div class="language"> | ||
<p class="aside-title">Swift</p> | ||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">downloader</span><span class="p">(</span> | ||
<span class="nv">downloadURL</span><span class="p">:</span> <span class="kt">URL</span><span class="p">,</span> | ||
<span class="nv">fileSize</span><span class="p">:</span> <span class="kt">Int64</span><span class="p">,</span> | ||
<span class="n">to</span> <span class="nv">destination</span><span class="p">:</span> <span class="kt">URL</span><span class="p">,</span> | ||
<span class="nv">maxConcurrentOperationCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">10</span><span class="p">)</span> <span class="o">-></span> <span class="kt"><a href="../Classes/AliyunpanDownloader.html">AliyunpanDownloader</a></span></code></pre> | ||
|
||
</div> | ||
</div> | ||
<div> | ||
<h4>Parameters</h4> | ||
<table class="graybox"> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>downloadURL</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>getFileDownloadUrl 获取的下载地址</p> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>fileSize</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>文件 size</p> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>destination</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>期望目标地址</p> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>maxConcurrentOperationCount</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>最大并发数,必须小于等于 10,默认 10</p> | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
</section> | ||
<section id="footer"> | ||
<p>© 2023 <a class="link" href="https://github.com/alibaba/AliyunpanSDK" target="_blank" rel="external noopener">[email protected]</a>. All rights reserved. (Last updated: 2023-12-06)</p> | ||
<p>© 2023 <a class="link" href="https://github.com/alibaba/aliyunpan-ios-sdk" target="_blank" rel="external noopener">zhaixian</a>. All rights reserved. (Last updated: 2023-12-12)</p> | ||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p> | ||
</section> | ||
</article> | ||
|
Oops, something went wrong.