• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package ohos;
2 
3 /**
4  * DefinePermission info.
5  * @deprecated
6  */
7 public class DefinePermission {
8     /**
9      * Indicates the name of DefPermission.
10      */
11     public String name = "";
12 
13     /**
14      * Indicates the grantMode of DefPermission.
15      */
16     public String grantMode = "";
17 
18     /**
19      * Indicates the availableLevel of DefPermission.
20      */
21     public String availableLevel = "";
22 
23     /**
24      * Indicates the provisionEnable of ModuleDefinePermissions.
25      */
26     public boolean provisionEnable  = true;
27 
28     /**
29      * Indicates the distributedSceneEnable of ModuleDefinePermissions.
30      */
31     public boolean distributedSceneEnable = false;
32 
33     /**
34      * Indicates the label of DefPermission.
35      */
36     public String label = "";
37 
38     /**
39      * Indicates the description of DefPermission.
40      */
41     public String description = "";
42 }
43