PermissionAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a security permission in the Android manifest rather than requesting an existing permission.
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
[System.Serializable]
public sealed class PermissionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)>]
[<System.Serializable>]
type PermissionAttribute = class
inherit Attribute
- Inheritance
-
PermissionAttribute
- 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
| Name | Description |
|---|---|
| PermissionAttribute() |
Initializes a permission-definition attribute. |
Properties
| Name | Description |
|---|---|
| Description |
Gets or sets the detailed description resource for the permission. |
| Icon |
Gets or sets the icon resource declared for the permission. |
| Label |
Gets or sets the permission's user-visible label. |
| Name |
Gets or sets the public name of the permission being defined. |
| PermissionGroup |
Gets or sets the logical permission group for this definition. |
| ProtectionLevel |
Gets or sets the permission's access-protection level and modifiers. |
| RoundIcon |
Gets or sets the round-icon resource declared for the permission. |