Intent.UriAllowUnsafe フィールド

定義

注意事項

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

#parseUri#toUri使用するためのフラグ: 安全でない情報の解析を許可します。

[Android.Runtime.Register("URI_ALLOW_UNSAFE", ApiSince=22)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.IntentUriType enum directly instead of this field.", true)]
public const Android.Content.IntentUriType UriAllowUnsafe = 4;
[<Android.Runtime.Register("URI_ALLOW_UNSAFE", ApiSince=22)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.IntentUriType enum directly instead of this field.", true)>]
val mutable UriAllowUnsafe : Android.Content.IntentUriType

フィールド値

Value = 4

実装

属性

注釈

#parseUri#toUri使用するためのフラグ: 安全でない情報の解析を許可します。 特に、生成#FLAG_GRANT_READ_URI_PERMISSION#FLAG_GRANT_WRITE_URI_PERMISSIONされた意図によって予期しないデータ アクセスが発生しないように、フラグ、、#FLAG_GRANT_PERSISTABLE_URI_PERMISSION、および #FLAG_GRANT_PREFIX_URI_PERMISSION フラグを設定できません。

解析対象の URI のソースが信頼できない場合でも、それ以降の処理を行って保護する必要があります。 特に、それを使用してアクティビティを開始する場合は、通常、それを処理できるアクティビティを制限するために を追加 #CATEGORY_BROWSABLE する必要があります。

の Java ドキュメント android.content.Intent.URI_ALLOW_UNSAFE

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象