Mac OS X Reference Library Apple Developer
Search

DOMApplicationCache

Module:
offline
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

addEventListener
dispatchEvent
removeEventListener
swapCache
update

addEventListener



void addEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 

dispatchEvent



boolean dispatchEvent(
    in Event evt) raises(EventException); 

removeEventListener



void removeEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 

swapCache



void swapCache() raises(DOMException); 

update



void update() raises(DOMException); 

Member Data

CHECKING
DOWNLOADING
IDLE
OBSOLETE
oncached
onchecking
ondownloading
onerror
onnoupdate
onobsolete
onprogress
onupdateready
status
UNCACHED
UPDATEREADY

CHECKING



const unsigned short CHECKING = 2; 

DOWNLOADING



const unsigned short DOWNLOADING = 3; 

IDLE



const unsigned short IDLE = 1; 

OBSOLETE



const unsigned short OBSOLETE = 5; 

oncached



attribute EventListener oncached; 

onchecking



attribute EventListener onchecking; 

ondownloading



attribute EventListener ondownloading; 

onerror



attribute EventListener onerror; 

onnoupdate



attribute EventListener onnoupdate; 

onobsolete



attribute EventListener onobsolete; 

onprogress



attribute EventListener onprogress; 

onupdateready



attribute EventListener onupdateready; 

status



readonly attribute unsigned short status; 

UNCACHED



const unsigned short UNCACHED = 0; 

UPDATEREADY



const unsigned short UPDATEREADY = 4; 

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-05-27