ApplicationCache is accessed via Window.applicationCache.
- Inheritance
- Object
- EventTarget
- ApplicationCache
- Annotations
- DocsEditable()
- DomName('ApplicationCache')
- SupportedBrowser(SupportedBrowser.CHROME)
- SupportedBrowser(SupportedBrowser.FIREFOX)
- SupportedBrowser(SupportedBrowser.IE, '10')
- SupportedBrowser(SupportedBrowser.OPERA)
- SupportedBrowser(SupportedBrowser.SAFARI)
- Unstable()
Constants
-
EventStreamProvider<Event>
cachedEvent
= const EventStreamProvider<Event>
('cached') -
const
Static 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') -
const
Static 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') -
const
Static factory designed to expose
downloading
events to event handlers that are not necessarily instances of ApplicationCache.… -
EventStreamProvider<Event>
errorEvent
= const EventStreamProvider<Event>
('error') -
const
Static 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') -
const
Static 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') -
const
Static factory designed to expose
obsolete
events to event handlers that are not necessarily instances of ApplicationCache.… -
EventStreamProvider<ProgressEvent>
progressEvent
= const EventStreamProvider<ProgressEvent>
('progress') -
const
Static 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') -
const
Static factory designed to expose
updateready
events to event handlers that are not necessarily instances of ApplicationCache.…
Static Properties
Properties
- on → Events
-
read-only, inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- onCached → Stream<Event>
-
read-only
Stream of
cached
events handled by thisApplicationCache
. - onChecking → Stream<Event>
-
read-only
Stream of
checking
events handled by thisApplicationCache
. - onDownloading → Stream<Event>
-
read-only
Stream of
downloading
events handled by thisApplicationCache
. - onError → Stream<Event>
-
read-only
Stream of
error
events handled by thisApplicationCache
. - onNoUpdate → Stream<Event>
-
read-only
Stream of
noupdate
events handled by thisApplicationCache
. - onObsolete → Stream<Event>
-
read-only
Stream of
obsolete
events handled by thisApplicationCache
. - onProgress → Stream<ProgressEvent>
-
read-only
Stream of
progress
events handled by thisApplicationCache
. - onUpdateReady → Stream<Event>
-
read-only
Stream of
updateready
events handled by thisApplicationCache
. - status → int
-
read-only
Methods
-
abort(
) → void -
addEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
removeEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
swapCache(
) → void -
update(
) → void