Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 6 - Types, Constants, and Global Functions / Types and Constants
Download Part


Download Event

The enumeration CDDownloadEvent specifies the possible outcomes when a download part downloads the data referenced by a Cyberdog item and saves it to disk. These events are passed to the MyDownloadCompleted programmer-defined function (page 193).

enum CDDownloadEvent
{
   kCDDownloadSucceeded,
   kCDDownloadFailed,
   kCDDownloadCancelled
}; 
Constants of this type

kCDDownloadSucceeded
The data referenced by the Cyberdog item was successfully downloaded and saved to disk.
kCDDownloadFailed
The attempt to download the data referenced by the Cyberdog item and save it to disk failed.
kCDDownloadCancelled
The request to download the data referenced by the Cyberdog item and save it to disk was canceled.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996