WallpaperManager.IOnColorsChangedListener.OnColorsChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.