다음을 통해 공유


InputConnectionWrapper.InterfaceConsts.InputContentGrantReadUriPermission 필드

정의

주의

This constant will be removed in the future version. Use Android.Views.InputMethods.InputContentFlags enum directly instead of this field.

이 플래그를 사용하면 편집기에서 개체에 포함된 InputContentInfo 콘텐츠 URI에 대한 읽기 액세스를 요청할 수 있습니다.

[Android.Runtime.Register("INPUT_CONTENT_GRANT_READ_URI_PERMISSION", ApiSince=25)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.InputContentFlags enum directly instead of this field.", true)]
public const Android.Views.InputMethods.InputContentFlags InputContentGrantReadUriPermission = 1;
[<Android.Runtime.Register("INPUT_CONTENT_GRANT_READ_URI_PERMISSION", ApiSince=25)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.InputContentFlags enum directly instead of this field.", true)>]
val mutable InputContentGrantReadUriPermission : Android.Views.InputMethods.InputContentFlags

필드 값

Value = 1
특성

설명

이 플래그를 사용하면 편집기에서 개체에 포함된 InputContentInfo 콘텐츠 URI에 대한 읽기 액세스를 요청할 수 있습니다.

Uri를 소유하는 콘텐츠 공급자가 매니페스트에 android.R.styleable#AndroidManifestProvider_grantUriPermissions grantUriPermissions 특성을 설정하거나 태그를 android.R.styleable#AndroidManifestGrantUriPermission &lt;grant-uri-permissions&gt; 포함해야 합니다. 그렇지 않으면 InputContentInfo#requestPermission() 실패할 수 있습니다.

현재 선택된 IME에 대해서만 이 API를 호출할 수 있지만 클라이언트가 개체를 유지하는 한 현재 IME를 다른 IME로 전환한 후에도 클라이언트는 임시 읽기 전용 액세스를 요청할 수 있습니다 InputContentInfo .

에 대한 android.view.inputmethod.InputConnection.INPUT_CONTENT_GRANT_READ_URI_PERMISSIONJava 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상