ApplicationCache is accessed via Window.applicationCache.
- Annotations
- DocsEditable()
- DomName('ApplicationCache')
- SupportedBrowser(SupportedBrowser.CHROME)
- SupportedBrowser(SupportedBrowser.FIREFOX)
- SupportedBrowser(SupportedBrowser.IE, '10')
- SupportedBrowser(SupportedBrowser.OPERA)
- SupportedBrowser(SupportedBrowser.SAFARI)
- Unstable()
- Extends
- Object
- EventTarget
- ApplicationCache
Constants
-
EventStreamProvider<Event>
cachedEvent
=
const EventStreamProvider<Event>
('cached') -
constStatic factory designed to expose
cached
events to event handlers that are not necessarily instances of ApplicationCache. - int CHECKING = 2
-
const
-
EventStreamProvider<Event>
checkingEvent
=
const EventStreamProvider<Event>
('checking') -
constStatic factory designed to expose
checking
events to event handlers that are not necessarily instances of ApplicationCache. - int DOWNLOADING = 3
-
const
-
EventStreamProvider<Event>
downloadingEvent
=
const EventStreamProvider<Event>
('downloading') -
constStatic factory designed to expose
downloading
events to event handlers that are not necessarily instances of ApplicationCache. -
EventStreamProvider<Event>
errorEvent
=
const EventStreamProvider<Event>
('error') -
constStatic factory designed to expose
error
events to event handlers that are not necessarily instances of ApplicationCache. - int IDLE = 1
-
const
-
EventStreamProvider<Event>
noUpdateEvent
=
const EventStreamProvider<Event>
('noupdate') -
constStatic factory designed to expose
noupdate
events to event handlers that are not necessarily instances of ApplicationCache. - int OBSOLETE = 5
-
const
-
EventStreamProvider<Event>
obsoleteEvent
=
const EventStreamProvider<Event>
('obsolete') -
constStatic factory designed to expose
obsolete
events to event handlers that are not necessarily instances of ApplicationCache. -
EventStreamProvider<ProgressEvent>
progressEvent
=
const EventStreamProvider<ProgressEvent>
('progress') -
constStatic factory designed to expose
progress
events to event handlers that are not necessarily instances of ApplicationCache. - int UNCACHED = 0
-
const
- int UPDATEREADY = 4
-
const
-
EventStreamProvider<Event>
updateReadyEvent
=
const EventStreamProvider<Event>
('updateready') -
constStatic factory designed to expose
updateready
events to event handlers that are not necessarily instances of ApplicationCache.
Static Properties
- bool supported
-
read-onlyChecks if this type is supported on the current platform.
Properties
- Events on
-
read-only, inheritedThis is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- Stream<Event> onCached
-
read-onlyStream of
cached
events handled by thisApplicationCache
. - Stream<Event> onChecking
-
read-onlyStream of
checking
events handled by thisApplicationCache
. - Stream<Event> onDownloading
-
read-onlyStream of
downloading
events handled by thisApplicationCache
. - Stream<Event> onError
-
read-onlyStream of
error
events handled by thisApplicationCache
. - Stream<Event> onNoUpdate
-
read-onlyStream of
noupdate
events handled by thisApplicationCache
. - Stream<Event> onObsolete
-
read-onlyStream of
obsolete
events handled by thisApplicationCache
. - Stream<ProgressEvent> onProgress
-
read-onlyStream of
progress
events handled by thisApplicationCache
. - Stream<Event> onUpdateReady
-
read-onlyStream of
updateready
events handled by thisApplicationCache
. - int status
-
read-only