Notification.HasPromotableCharacteristics Property
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.
Returns whether the notification has all the characteristics that make it eligible for
#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
Property Value
- Attributes
Remarks
Returns whether the notification has all the characteristics that make it eligible for #FLAG_PROMOTED_ONGOING
. This method does not factor in other criteria such user preferences for the app or channel. If this returns true, it does not guarantee that the notification will be assigned FLAG_PROMOTED_ONGOING by the system, but if this returns false, it will not.
Java documentation for android.app.Notification.hasPromotableCharacteristics()
.
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.