ApplicationCache class
ApplicationCache is accessed viaWindow.applicationCache.
- Inheritance
- Object
- EventTarget
- ApplicationCache
- Annotations
- @SupportedBrowser.new(SupportedBrowser.CHROME)
- @SupportedBrowser.new(SupportedBrowser.FIREFOX)
- @SupportedBrowser.new(SupportedBrowser.IE, '10')
- @SupportedBrowser.new(SupportedBrowser.OPERA)
- @SupportedBrowser.new(SupportedBrowser.SAFARI)
- @Unstable.new()
- @Native.new("ApplicationCache,DOMApplicationCache,OfflineResourceList")
Properties
- hashCode→int
- The hash code for this object.no setterinherited
- on→Events
- This is an ease-of-use accessor for event streams which should only beused when an explicit accessor is not available.no setterinherited
- onCached→Stream<
Event> - Stream of
cachedevents handled by thisApplicationCache.no setter - onChecking→Stream<
Event> - Stream of
checkingevents handled by thisApplicationCache.no setter - onDownloading→Stream<
Event> - Stream of
downloadingevents handled by thisApplicationCache.no setter - onError→Stream<
Event> - Stream of
errorevents handled by thisApplicationCache.no setter - onNoUpdate→Stream<
Event> - Stream of
noupdateevents handled by thisApplicationCache.no setter - onObsolete→Stream<
Event> - Stream of
obsoleteevents handled by thisApplicationCache.no setter - onProgress→Stream<
ProgressEvent> - Stream of
progressevents handled by thisApplicationCache.no setter - onUpdateReady→Stream<
Event> - Stream of
updatereadyevents handled by thisApplicationCache.no setter - runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
- status→int?
- no setter
Methods
- abort(
)→ void - addEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- dispatchEvent(
Eventevent)→bool - inherited
- noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- removeEventListener(
Stringtype,EventListener?listener, [bool?useCapture])→ void - inherited
- swapCache(
)→ void - toString(
)→String - A string representation of this object.inherited
- update(
)→ void
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
Static Properties
Constants
- cachedEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
cachedevents to eventhandlers that are not necessarily instances ofApplicationCache. - CHECKING→ constint
- checkingEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
checkingevents to eventhandlers that are not necessarily instances ofApplicationCache. - DOWNLOADING→ constint
- downloadingEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
downloadingevents to eventhandlers that are not necessarily instances ofApplicationCache. - errorEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
errorevents to eventhandlers that are not necessarily instances ofApplicationCache. - IDLE→ constint
- noUpdateEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
noupdateevents to eventhandlers that are not necessarily instances ofApplicationCache. - OBSOLETE→ constint
- obsoleteEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
obsoleteevents to eventhandlers that are not necessarily instances ofApplicationCache. - progressEvent→ constEventStreamProvider<
ProgressEvent> - Static factory designed to expose
progressevents to eventhandlers that are not necessarily instances ofApplicationCache. - UNCACHED→ constint
- UPDATEREADY→ constint
- updateReadyEvent→ constEventStreamProvider<
Event> - Static factory designed to expose
updatereadyevents to eventhandlers that are not necessarily instances ofApplicationCache.