TileEventResult enum

The result of attempting to cache the associated tile/TileEvent

Inheritance

Constructors

TileEventResult(TileEventResultCategory category)
The result of attempting to cache the associated tile/TileEvent
const

Values

success → const TileEventResult

The associated tile was successfully downloaded and cached

const TileEventResult(TileEventResultCategory.cached)
alreadyExisting → const TileEventResult

The associated tile was not downloaded (intentionally), becuase it already existed & skipExistingTiles was true

const TileEventResult(TileEventResultCategory.skipped)
isSeaTile → const TileEventResult

The associated tile was downloaded, but was not cached (intentionally), because it was a sea tile & skipSeaTiles was true

const TileEventResult(TileEventResultCategory.skipped)
negativeFetchResponse → const TileEventResult

The associated tile was not successfully downloaded because the tile server responded with a status code other than HTTP 200 OK

const TileEventResult(TileEventResultCategory.failed)
noConnectionDuringFetch → const TileEventResult

The associated tile was not successfully downloaded because a connection could not be made to the tile server

const TileEventResult(TileEventResultCategory.failed)
unknownFetchException → const TileEventResult

The associated tile was not successfully downloaded because of an unknown exception when fetching the tile from the tile server

const TileEventResult(TileEventResultCategory.failed)

Properties

category TileEventResultCategory
A generalized category for this event
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<TileEventResult>
A constant List of the values in this enum, in order of their declaration.