次の方法で共有


ProviderInfo.UriPermissionPatterns Property

Definition

If non-null, these are the patterns that are allowed for granting URI permissions.

[Android.Runtime.Register("uriPermissionPatterns")]
public System.Collections.Generic.IList<Android.OS.PatternMatcher>? UriPermissionPatterns { get; set; }
[<Android.Runtime.Register("uriPermissionPatterns")>]
member this.UriPermissionPatterns : System.Collections.Generic.IList<Android.OS.PatternMatcher> with get, set

Property Value

Attributes

Remarks

If non-null, these are the patterns that are allowed for granting URI permissions. Any URI that does not match one of these patterns will not allowed to be granted. If null, all URIs are allowed. The PackageManager#GET_URI_PERMISSION_PATTERNS PackageManager.GET_URI_PERMISSION_PATTERNS flag must be specified for this field to be filled in.

Java documentation for android.content.pm.ProviderInfo.uriPermissionPatterns.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to