PendingIntent.FlagAllowUnsafeImplicitIntent フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This constant will be removed in the future version. Use Android.App.PendingIntentFlags enum directly instead of this field.
FLAG_MUTABLEで作成された PendingIntent に、安全でない暗黙的な意図を含める許可があることを示すフラグ。
[Android.Runtime.Register("FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT", ApiSince=34)]
[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 FlagAllowUnsafeImplicitIntent = 16777216;
[<Android.Runtime.Register("FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.PendingIntentFlags enum directly instead of this field.", true)>]
val mutable FlagAllowUnsafeImplicitIntent : Android.App.PendingIntentFlags
フィールド値
Value = 16777216実装
- 属性
注釈
FLAG_MUTABLEで作成された PendingIntent に、安全でない暗黙的な意図を含める許可があることを示すフラグ。 Build.VERSION_CODES以降。UPSIDE_DOWN_CAKE、SDK Build.VERSION_CODESを対象とするアプリ用です。UPSIDE_DOWN_CAKE以上の場合、FLAG_MUTABLEと暗黙的な意図を含む PendingIntent を作成すると、セキュリティ上の理由から IllegalArgumentException がスローされます。 このチェックをバイパスするには、PendingIntent を作成するときにFLAG_ALLOW_UNSAFE_IMPLICIT_INTENTを使用します。 ただし、このフラグを使用せず、意図を明示的にするか、PendingIntent を不変にして、意図を安全にすることを強くお勧めします。
android.app.PendingIntent.FLAG_ALLOW_UNSAFE_IMPLICIT_INTENTの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。