DownloadStream
Object Hierarchy:
Description:
All the fields in the DownloadStream structure are private and should never be
accessed directly.
Namespace: GData
Package: libgdata
Content:
Properties:
-
public Cancellable cancellable { construct set; get; }
An optional cancellable used to cancel the entire download operation. If a
Cancellable instance isn't provided for this property at construction
time (i.e. to DownloadStream), one will be created
internally and can be retrieved using get_cancellable and used
to cancel the download operation with cancel just as if it was
passed to DownloadStream.
-
public long content_length { get; }
The length (in bytes) of the file being downloaded. This will initially be -1, and will be
populated as soon as the appropriate header is received from the server. Its value will never change after this.
-
public string content_type { get; }
The content type of the file being downloaded. This will initially be null, and will be
populated as soon as the appropriate header is received from the server. Its value will never change after this.
-
public string download_uri { construct set; get; }
The URI of the file to download.
-
public Service service { construct set; get; }
The service which is used to authorize the download, and to which the download relates.
Creation methods:
Methods: