Taal

RequiresPermissionAttribute Class

Definition

Records an Android permission value associated with a member or parameter.

[System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=true)]
public class RequiresPermissionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=true)>]
type RequiresPermissionAttribute = class
    inherit Attribute
Inheritance
RequiresPermissionAttribute
Attributes

Constructors

Name Description
RequiresPermissionAttribute(String)

Creates an attribute that records a permission value.

Properties

Name Description
Value

Gets or sets the Android permission value recorded by this attribute.

Applies to