Compartilhar via


PendingIntent.FlagMutable Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.PendingIntentFlags enum directly instead of this field.

Flag indicating that the created PendingIntent should be mutable.

[Android.Runtime.Register("FLAG_MUTABLE", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.PendingIntentFlags enum directly instead of this field.", true)]
public const Android.App.PendingIntentFlags FlagMutable = 33554432;
[<Android.Runtime.Register("FLAG_MUTABLE", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.PendingIntentFlags enum directly instead of this field.", true)>]
val mutable FlagMutable : Android.App.PendingIntentFlags

Field Value

Value = 33554432

Implements

Attributes

Remarks

Flag indicating that the created PendingIntent should be mutable. This flag cannot be combined with #FLAG_IMMUTABLE.

Up until android.os.Build.VERSION_CODES#R, PendingIntents are assumed to be mutable by default, unless #FLAG_IMMUTABLE is set. Starting with android.os.Build.VERSION_CODES#S, it will be required to explicitly specify the mutability of PendingIntents on creation with either (

Java documentation for android.app.PendingIntent.FLAG_MUTABLE.

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.

Applies to