Click or drag to resize
DownloadManager Class
Provides methods for managing the downloading of files.
Inheritance Hierarchy
SystemObject
  BlackBerry.WorkspacesDownloadManager

Namespace:  BlackBerry.Workspaces
Assembly:  BlackBerryWorkspacesSDK (in BlackBerryWorkspacesSDK.dll) Version: 7.0.0.223 (7.0.0.223)
Syntax
C#
public class DownloadManager : IProgressChanged

The DownloadManager type exposes the following members.

Properties
  NameDescription
Public propertyHash
Hash
Public propertyKill
Kill
Public propertyRemainingBytes
Remaining bytes
Public propertyTotalReceived
Total byts received
Public propertyTotalSize
Total size
Top
Methods
  NameDescription
Public methodDownloadFileById
Download the best possible format of the document with the given ID
Public methodDownloadFileByName
Download the best possible format of the document with the given ID
Public methodDownloadFileToBuffer
Download the requested version of the document with the given Id to a memory stream.
Public methodDownloadProtectedFileById
Download the protected version of the document with the given Id to the destination path.
Public methodDownloadProtectedFileToBuffer
Download the protected version of the document with the given Id to a memory stream.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDocIdFromNameRoomPath
Get document guid given room, path and name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitCacheLoad
Queue cache load for the given document from external repository WS
Public methodInitPdfConversion
Queue PDF conversion for the given document
Public methodOnProgressChanged
OnProgressChanged
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAfterFileWrite
AfterFileWrite
Public eventBeforeFileOverwrite
BeforeFileOverwrite
Public eventBeforeFileWrite
BeforeFileWrite
Public eventChunkSuccessfullyDownloaded
ChunkSuccessfullyDownloaded
Public eventDownloadCompleted
DownloadCompleted
Public eventDownloadFailed
DownloadFailed
Public eventDownloadProgressChanged
DownloadProgressChanged
Top
See Also