PendingIntent.FlagMutable フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This constant will be removed in the future version. Use Android.App.PendingIntentFlags enum directly instead of this field.
作成されたPendingIntent を変更可能にする必要があることを示すフラグ。
[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
フィールド値
Value = 33554432実装
- 属性
注釈
作成されたPendingIntent を変更可能にする必要があることを示すフラグ。 このフラグをFLAG_IMMUTABLEと組み合わせることはできません。 Build.VERSION_CODESまで。R、PendingIntents は、FLAG_IMMUTABLEが設定されていない限り、既定で変更可能であると見なされます。 Build.VERSION_CODES以降。S では、FLAG_IMMUTABLEまたはFLAG_MUTABLEを使用して、作成時に PendingIntents の変更可能性を明示的に指定する必要があります。 PendingIntent を作成するときは、FLAG_IMMUTABLEを使用することを強くお勧めします。 FLAG_MUTABLEは、一部の機能が基になる意図 (インライン応答やバブルで使用する必要がある PendingIntent など) の変更に依存している場合にのみ使用する必要があります。
android.app.PendingIntent.FLAG_MUTABLEの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。