WallpaperError enum

Known reasons a wallpaper operation may fail.

Inheritance
Available extensions

Values

unsupported → const WallpaperError

The current platform does not support the requested operation.

invalidImage → const WallpaperError

The provided image could not be read or decoded.

permissionDenied → const WallpaperError

The operation was blocked by a missing permission.

platformError → const WallpaperError

An unexpected error occurred on the native platform.

networkError → const WallpaperError

A network image could not be downloaded.

fileError → const WallpaperError

A local file could not be read.

unknown → const WallpaperError

An unexpected or unclassified error occurred.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
nativeValue → String

Available on WallpaperError, provided by the WallpaperErrorExtension extension

The string value understood by the native platform.
no setter
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<WallpaperError>
A constant List of the values in this enum, in order of their declaration.