WallpaperManager.IOnColorsChangedListener.OnColorsChanged Method

Definition

Called when colors change.

[Android.Runtime.Register("onColorsChanged", "(Landroid/app/WallpaperColors;I)V", "GetOnColorsChanged_Landroid_app_WallpaperColors_IHandler:Android.App.WallpaperManager/IOnColorsChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=27)]
public void OnColorsChanged (Android.App.WallpaperColors? colors, int which);
[<Android.Runtime.Register("onColorsChanged", "(Landroid/app/WallpaperColors;I)V", "GetOnColorsChanged_Landroid_app_WallpaperColors_IHandler:Android.App.WallpaperManager/IOnColorsChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=27)>]
abstract member OnColorsChanged : Android.App.WallpaperColors * int -> unit

Parameters

colors
WallpaperColors

Wallpaper color info, null when not available.

which
Int32

A combination of #FLAG_LOCK and #FLAG_SYSTEM

Attributes

Remarks

Called when colors change. A android.app.WallpaperColors object containing a simplified color histogram will be given.

Java documentation for android.app.WallpaperManager.OnColorsChangedListener.onColorsChanged(android.app.WallpaperColors, int).

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