Lines Matching full:label
1 # @ohos.file.securityLabel (Data Label)
52 Sets a security label for a file. The security label cannot be changed from a higher level to a low…
61 | type | [DataLevel](#datalevel) | Yes | Security label to set, which can be **s0**, **s1**, …
100 Sets a security label for a file. The security label cannot be changed from a higher level to a low…
109 | type | [DataLevel](#datalevel) | Yes | Security label to set, which can be **s0**, **s1**…
110 | callback | AsyncCallback<void> | Yes | Callback used to return the security label set. …
145 Sets a security label for a file. This API returns the result synchronously. The security label can…
154 | type | [DataLevel](#datalevel) | Yes | Security label to set, which can be **s0**, **s1**, …
182 Obtains the security label. If no security label has been set for the file, **s3** is returned by d…
196 | Promise<string> | Security label obtained.|
219 console.log("getSecurityLabel successfully, Label: " + type);
229 Obtains the security label. If no security label has been set for the file, **s3** is returned by d…
238 …| callback | AsyncCallback<string> | Yes | Callback used to return the security label obtai…
264 console.log("getSecurityLabel successfully, Label: " + type);
273 Obtains the security label. This API returns the result synchronously. If no security label has bee…
287 | string | Security label obtained.|
309 console.log("getSecurityLabel successfully, Label: " + type);