DAImportationResult Class

The DAImportationResult object includes properties that contain information about media that is being downloaded either synchronously or asynchronously.

For synchronous downloads, it is used in conjunction with ImportSound and ImportMovie.

For asynchronous downloads, it is used with ImportGeometryAsync, ImportImageAsync, ImportMovieAsync, and ImportSoundAsync.

DAImportationResult Properties

CompletionEventA read-only property with a DAEvent value that is the event that fires once a download is complete.
DurationA read-only property with a DANumber value that is the length of the media file being downloaded, in seconds.
GeometryA read-only property with a DAGeometry value that is the geometry being downloaded.
ImageA read-only property with a DAImage value that is the image being downloaded.
ProgressA read-only property with a DANumber value that is the percentage of the download that has been completed.
SizeA read-only property with a DANumber value that is the size of the medium being downloaded, in bytes.
SoundA read-only property with a DASound value that is the sound being downloaded.

CompletionEvent

DAImportationResult Class

A read-only property with a DAEvent value that is the event that fires once a download is complete.

Syntax

importationResultObj.CompletionEvent

Duration

DAImportationResult Class

A read-only property with a DANumber value that is the length of the media file being downloaded, in seconds.

Syntax

importationResultObj.Duration

Geometry

DAImportationResult Class

A read-only property with a DAGeometry value that is the geometry being downloaded.

Syntax

importationResultObj.Geometry

Image

DAImportationResult Class

A read-only property with a DAImage value that is the image being downloaded.

Syntax

importationResultObj.Image

Progress

DAImportationResult Class

A read-only property with a DANumber value that is the percentage of the download that has been completed. A value of 0 means 0 percent and a value of 1 means 100 percent.

Syntax

importationResultObj.Progress

Size

DAImportationResult Class

A read-only property with a DANumber value that is the size of the medium being downloaded, in bytes.

Syntax

importationResultObj.Size

Sound

DAImportationResult Class

A read-only property with a DASound value that is the sound being downloaded.

Syntax

importationResultObj.Sound


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.