语言

ProviderInfo.PathPermissions 属性

定义

如果为非 null,则这些权限是允许访问提供程序的路径特定的权限。

[Android.Runtime.Register("pathPermissions")]
public System.Collections.Generic.IList<Android.Content.PM.PathPermission>? PathPermissions { get; set; }
[<Android.Runtime.Register("pathPermissions")>]
member this.PathPermissions : System.Collections.Generic.IList<Android.Content.PM.PathPermission> with get, set

属性值

将提供程序路径与其他访问权限关联的权限规则。

特性

注解

如果为非 null,则这些权限是允许访问提供程序的路径特定的权限。 此处列出的任何权限都允许保留客户端访问提供程序,提供程序将在针对此处模式进行调用时检查它提供的 URI。

Java文档android.content.pm.ProviderInfo.pathPermissions。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于