WallpaperColors class

Provides information about the colors of a wallpaper.

Exposes the 3 most visually representative colors of a wallpaper.

See: https://developer.android.com/reference/android/app/WallpaperColors See: https://github.com/aosp-mirror/platform_frameworks_base/blob/master/core/java/android/app/WallpaperColors.java

Mixed in types

Constructors

WallpaperColors(Color primaryColor, Color secondaryColor, Color tertiaryColor)
Constructs a new object from three colors. [...]

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
parcelableCreator String
read-only, override
primaryColor Color
The most visually representative color of the wallpaper. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secondaryColor Color
The second most preeminent color of the wallpaper. [...]
final
tertiaryColor Color
The third most preeminent color of the wallpaper. [...]
final

Methods

describeContents() int
Describe any special objects contained in this instance's marshaled representation. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
writeToParcel(Parcel parcel, [int flags = 0]) → void
Flatten this object in to a Parcel. [...]
override

Operators

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