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>
-
Static factory designed to expose
cachedevents to event handlers that are not necessarily instances of ApplicationCache.@DocsEditable(), @DomName('ApplicationCache.cachedEvent')const EventStreamProvider<Event>('cached') - CHECKING → int
-
@DocsEditable(), @DomName('ApplicationCache.CHECKING')
2 - checkingEvent → EventStreamProvider<Event>
-
Static factory designed to expose
checkingevents to event handlers that are not necessarily instances of ApplicationCache.@DocsEditable(), @DomName('ApplicationCache.checkingEvent')const EventStreamProvider<Event>('checking') - DOWNLOADING → int
-
@DocsEditable(), @DomName('ApplicationCache.DOWNLOADING')
3 - downloadingEvent → EventStreamProvider<Event>
-
Static factory designed to expose
downloadingevents to event handlers that are not necessarily instances of ApplicationCache.@DocsEditable(), @DomName('ApplicationCache.downloadingEvent')const EventStreamProvider<Event>('downloading') - errorEvent → EventStreamProvider<Event>
-
Static factory designed to expose
errorevents to event handlers that are not necessarily instances of ApplicationCache.@DocsEditable(), @DomName('ApplicationCache.errorEvent')const EventStreamProvider<Event>('error') - IDLE → int
-
@DocsEditable(), @DomName('ApplicationCache.IDLE')
1 - noUpdateEvent → EventStreamProvider<Event>
-
Static factory designed to expose
noupdateevents to event handlers that are not necessarily instances of ApplicationCache.@DocsEditable(), @DomName('ApplicationCache.noupdateEvent')const EventStreamProvider<Event>('noupdate') - OBSOLETE → int
-
@DocsEditable(), @DomName('ApplicationCache.OBSOLETE')
5 - obsoleteEvent → EventStreamProvider<Event>
-
Static factory designed to expose
obsoleteevents to event handlers that are not necessarily instances of ApplicationCache.@DocsEditable(), @DomName('ApplicationCache.obsoleteEvent')const EventStreamProvider<Event>('obsolete') - progressEvent → EventStreamProvider<ProgressEvent>
-
Static factory designed to expose
progressevents to event handlers that are not necessarily instances of ApplicationCache.@DocsEditable(), @DomName('ApplicationCache.progressEvent')const EventStreamProvider<ProgressEvent>('progress') - UNCACHED → int
-
@DocsEditable(), @DomName('ApplicationCache.UNCACHED')
0 - UPDATEREADY → int
-
@DocsEditable(), @DomName('ApplicationCache.UPDATEREADY')
4 - updateReadyEvent → EventStreamProvider<Event>
-
Static factory designed to expose
updatereadyevents to event handlers that are not necessarily instances of ApplicationCache.@DocsEditable(), @DomName('ApplicationCache.updatereadyEvent')const EventStreamProvider<Event>('updateready')
Static Properties
- instanceRuntimeType → Type
-
@Deprecated("Internal Use Only"), read-only
- supported → bool
-
Checks if this type is supported on the current platform.
read-only
Constructors
Properties
- onCached → Stream<Event>
-
Stream of
cachedevents handled by thisApplicationCache.@DocsEditable(), @DomName('ApplicationCache.oncached'), read-only - onChecking → Stream<Event>
-
Stream of
checkingevents handled by thisApplicationCache.@DocsEditable(), @DomName('ApplicationCache.onchecking'), read-only - onDownloading → Stream<Event>
-
Stream of
downloadingevents handled by thisApplicationCache.@DocsEditable(), @DomName('ApplicationCache.ondownloading'), read-only - onError → Stream<Event>
-
Stream of
errorevents handled by thisApplicationCache.@DocsEditable(), @DomName('ApplicationCache.onerror'), read-only - onNoUpdate → Stream<Event>
-
Stream of
noupdateevents handled by thisApplicationCache.@DocsEditable(), @DomName('ApplicationCache.onnoupdate'), read-only - onObsolete → Stream<Event>
-
Stream of
obsoleteevents handled by thisApplicationCache.@DocsEditable(), @DomName('ApplicationCache.onobsolete'), read-only - onProgress → Stream<ProgressEvent>
-
Stream of
progressevents handled by thisApplicationCache.@DocsEditable(), @DomName('ApplicationCache.onprogress'), read-only - onUpdateReady → Stream<Event>
-
Stream of
updatereadyevents handled by thisApplicationCache.@DocsEditable(), @DomName('ApplicationCache.onupdateready'), read-only - status → int
-
@DocsEditable(), @DomName('ApplicationCache.status'), read-only
- hashCode → int
-
read-only, inherited
- on → Events
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
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 -
Invoked when a non-existent method or property is accessed.
inherited -
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
toString(
) → String -
Returns the result of the JavaScript objects
toStringmethod.inherited