WallpaperManager.IOnColorsChangedListener.OnColorsChanged Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé lorsque les couleurs changent.
[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
Paramètres
- colors
- WallpaperColors
Informations sur la couleur du papier peint, null
lorsqu’elles ne sont pas disponibles.
- which
- Int32
Combinaison de #FLAG_LOCK
et #FLAG_SYSTEM
- Attributs
Remarques
Appelé lorsque les couleurs changent. Un android.app.WallpaperColors
objet contenant un histogramme de couleur simplifié sera donné.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.