public interface ApplicationCache extends EventTarget
Modifier and Type | Field and Description |
---|---|
static int |
CHECKING |
static int |
DOWNLOADING |
static int |
IDLE |
static int |
OBSOLETE |
static int |
UNCACHED |
static int |
UPDATEREADY |
static final int CHECKING
static final int DOWNLOADING
static final int IDLE
static final int OBSOLETE
static final int UNCACHED
static final int UPDATEREADY
EventListener getOncached()
void setOncached(EventListener arg)
EventListener getOnchecking()
void setOnchecking(EventListener arg)
EventListener getOndownloading()
void setOndownloading(EventListener arg)
EventListener getOnerror()
void setOnerror(EventListener arg)
EventListener getOnnoupdate()
void setOnnoupdate(EventListener arg)
EventListener getOnobsolete()
void setOnobsolete(EventListener arg)
EventListener getOnprogress()
void setOnprogress(EventListener arg)
EventListener getOnupdateready()
void setOnupdateready(EventListener arg)
int getStatus()
void abort()
EventRemover addEventListener(String type, EventListener listener)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
EventRemover addEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
boolean dispatchEvent(Event evt)
EventTarget
EventTarget
.dispatchEvent
in interface EventTarget
void removeEventListener(String type, EventListener listener)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
void removeEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
void swapCache()
void update()
Copyright © 2018. All rights reserved.