4 <name>Tizen.Security</name>
7 <member name="T:Tizen.Security.Privilege">
9 The class provides the information of the given privilege and API version.
11 <since_tizen> 3 </since_tizen>
13 <member name="M:Tizen.Security.Privilege.GetDisplayName(System.String,System.String)">
15 Gets the display name of the given privilege.
17 <since_tizen> 3 </since_tizen>
18 <remarks>If there's no matching privilege then it returns last token of given privilege.</remarks>
19 <param name="apiVersion">The api version</param>
20 <param name="privilege">The privilege</param>
21 <returns>The display name of given privilege at given api version</returns>
22 <exception cref="T:System.ArgumentNullException">Thrown when there is a null parameter.</exception>
23 <exception cref="T:System.ArgumentException">Thrown when there is an invalid parameter.</exception>
24 <exception cref="T:System.OutOfMemoryException">Thrown when out of memory occurs</exception>
25 <exception cref="T:System.InvalidOperationException">Thrown when internal error occurs.</exception>
27 <member name="M:Tizen.Security.Privilege.GetDisplayName(System.String,System.String,Tizen.Applications.PackageType)">
29 Gets the display name of the given privilege.
31 <since_tizen> 3 </since_tizen>
32 <remarks>If there's no matching privilege then it returns last token of given privilege.</remarks>
33 <param name="apiVersion">The api version</param>
34 <param name="privilege">The privilege</param>
35 <param name="packageType">The type of application package</param>
36 <returns>The display name of given privilege at given api version and the package type</returns>
37 <exception cref="T:System.ArgumentNullException">Thrown when there is a null parameter.</exception>
38 <exception cref="T:System.ArgumentException">Thrown when there is an invalid parameter.</exception>
39 <exception cref="T:System.OutOfMemoryException">Thrown when out of memory occurs</exception>
40 <exception cref="T:System.InvalidOperationException">Thrown when internal error occurs.</exception>
42 <member name="M:Tizen.Security.Privilege.GetDescription(System.String,System.String)">
44 Gets the description of the given privilege.
46 <since_tizen> 3 </since_tizen>
47 <remarks>If there's no matching privilege then it returns description string for undefined privilege.</remarks>
48 <param name="apiVersion">The api version</param>
49 <param name="privilege">The privilege</param>
50 <returns>The description of given privilege at given api version</returns>
51 <exception cref="T:System.ArgumentNullException">Thrown when there is a null parameter.</exception>
52 <exception cref="T:System.ArgumentException">Thrown when there is an invalid parameter.</exception>
53 <exception cref="T:System.OutOfMemoryException">Thrown when out of memory occurs</exception>
54 <exception cref="T:System.InvalidOperationException">Thrown when internal error occurs.</exception>
56 <member name="M:Tizen.Security.Privilege.GetDescription(System.String,System.String,Tizen.Applications.PackageType)">
58 Gets the description of the given privilege.
60 <since_tizen> 3 </since_tizen>
61 <remarks>If there's no matching privilege then it returns description string for undefined privilege.</remarks>
62 <param name="apiVersion">The api version</param>
63 <param name="privilege">The privilege</param>
64 <param name="packageType">The type of application package</param>
65 <returns>The description of given privilege at given api version and the package type</returns>
66 <exception cref="T:System.ArgumentNullException">Thrown when there is a null parameter.</exception>
67 <exception cref="T:System.ArgumentException">Thrown when there is an invalid parameter.</exception>
68 <exception cref="T:System.OutOfMemoryException">Thrown when out of memory occurs</exception>
69 <exception cref="T:System.InvalidOperationException">Thrown when internal error occurs.</exception>
71 <member name="M:Tizen.Security.Privilege.GetPrivacyDisplayName(System.String)">
73 Gets the display name of the privacy group in which the given privilege is included.
75 <since_tizen> 3 </since_tizen>
76 <param name="privilege">The privilege</param>
77 <remarks>The privilege must be privacy related.</remarks>
78 <returns>The privacy group's display name that the given privilege is included in</returns>
79 <exception cref="T:System.ArgumentNullException">Thrown when there is a null parameter.</exception>
80 <exception cref="T:System.ArgumentException">Thrown when there is an invalid parameter.</exception>
81 <exception cref="T:System.OutOfMemoryException">Thrown when out of memory occurs</exception>
82 <exception cref="T:System.InvalidOperationException">Thrown when internal error occurs.</exception>
84 <member name="M:Tizen.Security.Privilege.GetPrivacyPrivilegeStatus(System.String)">
86 Gets the status of the given privacy related privilege.
88 <since_tizen> 3 </since_tizen>
89 <param name="privilege">The privilege</param>
90 <remarks>The privilege must be privacy related.</remarks>
91 <returns>status true if the privilege is on and false if the privilege is off.</returns>
92 <exception cref="T:System.ArgumentNullException">Thrown when there is a null parameter.</exception>
93 <exception cref="T:System.ArgumentException">Thrown when there is an invalid parameter.</exception>
94 <exception cref="T:System.OutOfMemoryException">Thrown when out of memory occurs</exception>
95 <exception cref="T:System.InvalidOperationException">Thrown when internal error occurs.</exception>