WallpaperColors.PrimaryColor Property

Definition

Gets the most visually representative color of the wallpaper.

public Android.Graphics.ColorObject PrimaryColor { [Android.Runtime.Register("getPrimaryColor", "()Landroid/graphics/Color;", "", ApiSince=27)] get; }
[<get: Android.Runtime.Register("getPrimaryColor", "()Landroid/graphics/Color;", "", ApiSince=27)>]
member this.PrimaryColor : Android.Graphics.ColorObject

Property Value

A color.

Attributes

Remarks

Gets the most visually representative color of the wallpaper. "Visually representative" means easily noticeable in the image, probably happening at high frequency.

Java documentation for android.app.WallpaperColors.getPrimaryColor().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to