Notification.FlagPromotedOngoing Field
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.
Caution
This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.
Bit to be bitwise-ored into the #flags
field that should be
set by the system if this notification is a promoted ongoing notification, both because it
#hasPromotableCharacteristics()
and the user has not disabled the feature for this
app.
[Android.Runtime.Register("FLAG_PROMOTED_ONGOING", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.", true)]
public const Android.App.NotificationFlags FlagPromotedOngoing = 262144;
[<Android.Runtime.Register("FLAG_PROMOTED_ONGOING", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.", true)>]
val mutable FlagPromotedOngoing : Android.App.NotificationFlags
Field Value
Value = 262144Implements
- Attributes
Remarks
Bit to be bitwise-ored into the #flags
field that should be set by the system if this notification is a promoted ongoing notification, both because it #hasPromotableCharacteristics()
and the user has not disabled the feature for this app.
Applications cannot set this flag directly, but the posting app and android.service.notification.NotificationListenerService
can read it.
Java documentation for android.app.Notification.FLAG_PROMOTED_ONGOING
.
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.