ApplicationCache class
ApplicationCache is accessed via Window.applicationCache.
- Inheritance
-
- Object
- EventTarget
- ApplicationCache
- Annotations
-
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.FIREFOX)
- @SupportedBrowser(SupportedBrowser.IE, '10')
- @SupportedBrowser(SupportedBrowser.OPERA)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Unstable()
- @Native("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 be
used when an explicit accessor is not available.
no setterinherited
-
onCached
→ Stream<
Event> -
Stream of
cached
events handled by this ApplicationCache.no setter -
onChecking
→ Stream<
Event> -
Stream of
checking
events handled by this ApplicationCache.no setter -
onDownloading
→ Stream<
Event> -
Stream of
downloading
events handled by this ApplicationCache.no setter -
onError
→ Stream<
Event> -
Stream of
error
events handled by this ApplicationCache.no setter -
onNoUpdate
→ Stream<
Event> -
Stream of
noupdate
events handled by this ApplicationCache.no setter -
onObsolete
→ Stream<
Event> -
Stream of
obsolete
events handled by this ApplicationCache.no setter -
onProgress
→ Stream<
ProgressEvent> -
Stream of
progress
events handled by this ApplicationCache.no setter -
onUpdateReady
→ Stream<
Event> -
Stream of
updateready
events handled by this ApplicationCache.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int?
-
no setter
Methods
-
abort(
) → void -
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
swapCache(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
Constants
-
cachedEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
cached
events to event handlers that are not necessarily instances of ApplicationCache. - CHECKING → const int
-
checkingEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
checking
events to event handlers that are not necessarily instances of ApplicationCache. - DOWNLOADING → const int
-
downloadingEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
downloading
events to event handlers that are not necessarily instances of ApplicationCache. -
errorEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
error
events to event handlers that are not necessarily instances of ApplicationCache. - IDLE → const int
-
noUpdateEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
noupdate
events to event handlers that are not necessarily instances of ApplicationCache. - OBSOLETE → const int
-
obsoleteEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
obsolete
events to event handlers that are not necessarily instances of ApplicationCache. -
progressEvent
→ const EventStreamProvider<
ProgressEvent> -
Static factory designed to expose
progress
events to event handlers that are not necessarily instances of ApplicationCache. - UNCACHED → const int
- UPDATEREADY → const int
-
updateReadyEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
updateready
events to event handlers that are not necessarily instances of ApplicationCache.