ApplicationCache is accessed via Window.applicationCache.

Inheritance
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 cached events to event handlers that are not necessarily instances of ApplicationCache.…

const const EventStreamProvider<Event>('cached')
CHECKING → int

const 2
checkingEvent → EventStreamProvider<Event>

Static factory designed to expose checking events to event handlers that are not necessarily instances of ApplicationCache.…

const const EventStreamProvider<Event>('checking')
DOWNLOADING → int

const 3
downloadingEvent → EventStreamProvider<Event>

Static factory designed to expose downloading events to event handlers that are not necessarily instances of ApplicationCache.…

const const EventStreamProvider<Event>('downloading')
errorEvent → EventStreamProvider<Event>

Static factory designed to expose error events to event handlers that are not necessarily instances of ApplicationCache.…

const const EventStreamProvider<Event>('error')
IDLE → int

const 1
noUpdateEvent → EventStreamProvider<Event>

Static factory designed to expose noupdate events to event handlers that are not necessarily instances of ApplicationCache.…

const const EventStreamProvider<Event>('noupdate')
OBSOLETE → int

const 5
obsoleteEvent → EventStreamProvider<Event>

Static factory designed to expose obsolete events to event handlers that are not necessarily instances of ApplicationCache.…

const const EventStreamProvider<Event>('obsolete')
progressEvent → EventStreamProvider<ProgressEvent>

Static factory designed to expose progress events to event handlers that are not necessarily instances of ApplicationCache.…

const const EventStreamProvider<ProgressEvent>('progress')
UNCACHED → int

const 0
UPDATEREADY → int

const 4
updateReadyEvent → EventStreamProvider<Event>

Static factory designed to expose updateready events to event handlers that are not necessarily instances of ApplicationCache.…

const const EventStreamProvider<Event>('updateready')

Static Properties

supported → bool

Checks if this type is supported on the current platform.

read-only

Static Methods

internalCreateApplicationCache() → ApplicationCache

Constructors

ApplicationCache.internal_()

Properties

The underlying JS DOM object.

read / write, inherited
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
onCached → Stream<Event>

Stream of cached events handled by this ApplicationCache.

read-only
onChecking → Stream<Event>

Stream of checking events handled by this ApplicationCache.

read-only
onDownloading → Stream<Event>

Stream of downloading events handled by this ApplicationCache.

read-only
onError → Stream<Event>

Stream of error events handled by this ApplicationCache.

read-only
onNoUpdate → Stream<Event>

Stream of noupdate events handled by this ApplicationCache.

read-only
onObsolete → Stream<Event>

Stream of obsolete events handled by this ApplicationCache.

read-only
onProgress → Stream<ProgressEvent>

Stream of progress events handled by this ApplicationCache.

read-only
onUpdateReady → Stream<Event>

Stream of updateready events handled by this ApplicationCache.

read-only
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
status → int

read-only

Operators

operator ==(other) → bool

The equality operator.…

inherited

Methods

abort() → void

addEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
dispatchEvent(Event event) → bool

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.…

inherited
removeEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
swapCache() → void

toString() → String

Returns a string representation of this object.

inherited
update() → void