On this page
ApplicationCache class
ApplicationCache is accessed via Window.applicationCache.
- Inheritance
-
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- ApplicationCache
- Annotations
-
- @DocsEditable()
- @DomName('ApplicationCache')
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.FIREFOX)
- @SupportedBrowser(SupportedBrowser.IE, '10')
- @SupportedBrowser(SupportedBrowser.OPERA)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Unstable()
Constants
- cachedEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('ApplicationCache.cachedEvent')
-
Static factory designed to expose
cachedevents to event handlers that are not necessarily instances of ApplicationCache.const EventStreamProvider<Event>('cached') - CHECKING → int
@DocsEditable(), @DomName('ApplicationCache.CHECKING')
-
2 - checkingEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('ApplicationCache.checkingEvent')
-
Static factory designed to expose
checkingevents to event handlers that are not necessarily instances of ApplicationCache.const EventStreamProvider<Event>('checking') - DOWNLOADING → int
@DocsEditable(), @DomName('ApplicationCache.DOWNLOADING')
-
3 - downloadingEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('ApplicationCache.downloadingEvent')
-
Static factory designed to expose
downloadingevents to event handlers that are not necessarily instances of ApplicationCache.const EventStreamProvider<Event>('downloading') - errorEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('ApplicationCache.errorEvent')
-
Static factory designed to expose
errorevents to event handlers that are not necessarily instances of ApplicationCache.const EventStreamProvider<Event>('error') - IDLE → int
@DocsEditable(), @DomName('ApplicationCache.IDLE')
-
1 - noUpdateEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('ApplicationCache.noupdateEvent')
-
Static factory designed to expose
noupdateevents to event handlers that are not necessarily instances of ApplicationCache.const EventStreamProvider<Event>('noupdate') - OBSOLETE → int
@DocsEditable(), @DomName('ApplicationCache.OBSOLETE')
-
5 - obsoleteEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('ApplicationCache.obsoleteEvent')
-
Static factory designed to expose
obsoleteevents to event handlers that are not necessarily instances of ApplicationCache.const EventStreamProvider<Event>('obsolete') - progressEvent → EventStreamProvider<ProgressEvent>
@DocsEditable(), @DomName('ApplicationCache.progressEvent')
-
Static factory designed to expose
progressevents to event handlers that are not necessarily instances of ApplicationCache.const EventStreamProvider<ProgressEvent>('progress') - UNCACHED → int
@DocsEditable(), @DomName('ApplicationCache.UNCACHED')
-
0 - UPDATEREADY → int
@DocsEditable(), @DomName('ApplicationCache.UPDATEREADY')
-
4 - updateReadyEvent → EventStreamProvider<Event>
@DocsEditable(), @DomName('ApplicationCache.updatereadyEvent')
-
Static factory designed to expose
updatereadyevents to event handlers that are not necessarily instances of ApplicationCache.const EventStreamProvider<Event>('updateready')
Static Properties
- instanceRuntimeType → Type
@Deprecated("Internal Use Only"), read-only
- supported → bool
read-only
-
Checks if this type is supported on the current platform.
Constructors
Properties
- onCached → Stream<Event>
@DocsEditable(), @DomName('ApplicationCache.oncached'), read-only
-
Stream of
cachedevents handled by thisApplicationCache. - onChecking → Stream<Event>
@DocsEditable(), @DomName('ApplicationCache.onchecking'), read-only
-
Stream of
checkingevents handled by thisApplicationCache. - onDownloading → Stream<Event>
@DocsEditable(), @DomName('ApplicationCache.ondownloading'), read-only
-
Stream of
downloadingevents handled by thisApplicationCache. - onError → Stream<Event>
@DocsEditable(), @DomName('ApplicationCache.onerror'), read-only
-
Stream of
errorevents handled by thisApplicationCache. - onNoUpdate → Stream<Event>
@DocsEditable(), @DomName('ApplicationCache.onnoupdate'), read-only
-
Stream of
noupdateevents handled by thisApplicationCache. - onObsolete → Stream<Event>
@DocsEditable(), @DomName('ApplicationCache.onobsolete'), read-only
-
Stream of
obsoleteevents handled by thisApplicationCache. - onProgress → Stream<ProgressEvent>
@DocsEditable(), @DomName('ApplicationCache.onprogress'), read-only
-
Stream of
progressevents handled by thisApplicationCache. - onUpdateReady → Stream<Event>
@DocsEditable(), @DomName('ApplicationCache.onupdateready'), read-only
-
Stream of
updatereadyevents handled by thisApplicationCache. - status → int
@DocsEditable(), @DomName('ApplicationCache.status'), read-only
- hashCode → int
read-only, inherited
- 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.
- runtimeType → Type
read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- abort(
) → void @DocsEditable(), @DomName('ApplicationCache.abort') - swapCache(
) → void @DocsEditable(), @DomName('ApplicationCache.swapCache') - update(
) → void @DocsEditable(), @DomName('ApplicationCache.update') - addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - dispatchEvent(
Event event) → bool @DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited - noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited - toString(
) → String inherited -
Returns the result of the JavaScript objects
toStringmethod.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/ApplicationCache-class.html