Suspending a Download
An ongoing file download can be manually suspended.
The following sample code shows how to suspend an ongoing file download.
-
-
Call the suspend()
method to suspend a download. An error will be returned if you attempt to suspend a finished download.