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.