Udostępnij za pośrednictwem


GrantUriPermissionAttribute Class

Definition

Generates a /manifest/provider/grant-uri-permission elements within AndroidManifest.xml.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.Serializable]
public class GrantUriPermissionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
[<System.Serializable>]
type GrantUriPermissionAttribute = class
    inherit Attribute
Inheritance
GrantUriPermissionAttribute
Attributes

Remarks

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.

Constructors

GrantUriPermissionAttribute()

Constructs and initializes a new GrantUriPermissionAttribute instance.

Properties

Path

A complete path identifying the data subset or subsets that permission can be granted for.

PathPattern

A complete path identifying the data subset or subsets that permission can be granted for, with possible wildcards.

PathPrefix

The initial part of a path identifying the data subset or subsets that permission can be granted for.

Applies to

See also