OfflineConfiguration class

Annotations
  • @JS('OfflineConfiguration')

Constructors

OfflineConfiguration()

Properties

downloadSizeCallback JSFunction
function Called inside store() to determine if the content can be downloaded due to its estimated size. The estimated size of the download is passed and it must return if the download is allowed or not.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
numberOfParallelDownloads num
number Number of parallel downloads. Note: normally browsers limit to 5 request in parallel, so putting a number higher than this will not help it download faster. Defaults to 5.
getter/setter pair
progressCallback JSFunction
function Called inside store() to give progress info back to the app. It is given the current manifest being stored and the progress of it being stored.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackSelectionCallback JSFunction
function Called inside store() to determine which tracks to save from a manifest. It is passed an array of Tracks from the manifest and it should return an array of the tracks to store.
getter/setter pair
usePersistentLicense bool
boolean If true, store protected content with a persistent license so that no network is required to view. If false, store protected content without a persistent license. A network will be required to retrieve a temporary license to view. Defaults to true.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited