Notification.HasPromotableCharacteristics Propriété
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.
Retourne si la notification présente toutes les caractéristiques qui le rendent éligible à FLAG_PROMOTED_ONGOING.
public virtual bool HasPromotableCharacteristics { [Android.Runtime.Register("hasPromotableCharacteristics", "()Z", "GetHasPromotableCharacteristicsHandler", ApiSince=36)] get; }
[<get: Android.Runtime.Register("hasPromotableCharacteristics", "()Z", "GetHasPromotableCharacteristicsHandler", ApiSince=36)>]
member this.HasPromotableCharacteristics : bool
Valeur de propriété
- Attributs
Remarques
Retourne si la notification présente toutes les caractéristiques qui le rendent éligible à FLAG_PROMOTED_ONGOING. Cette méthode ne prend pas en compte d’autres critères tels que les préférences utilisateur pour l’application ou le canal. Si cela retourne la valeur true, il ne garantit pas que la notification sera affectée FLAG_PROMOTED_ONGOING par le système, mais si cela retourne false, il ne le sera pas.
Référence Android pour android.app.Notification.hasPromotableCharacteristics.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.