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의 원본을 신뢰하지 않는 경우에도 추가 처리를 수행하여 해당 URI로부터 자신을 보호해야 합니다. 특히 활동을 시작하는 데 사용할 때는 일반적으로 작업을 처리할 수 있는 활동을 제한하기 위해 를 추가 #CATEGORY_BROWSABLE 해야 합니다.

에 대한 Java 설명서입니다 android.content.Intent.URI_ALLOW_UNSAFE.

이 페이지의 일부는 만들고 공유하며 에 설명된 조건에 따라 사용되는 작업을 기반으로 수정됩니다.

적용 대상