• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * the ut for method in interface, method is promise
3 */
4export interface Test {
5  /**
6   * the ut for method in interface, method has permission
7   *
8   * @permission ohos.permission.GRANT_SENSITIVE_PERMISSIONS
9   */
10  test(param1: string): Promise<Want>;
11
12  /**
13   * the ut for method in interface, method has permissions
14   *
15   * @permission ohos.permission.GET_SENSITIVE_PERMISSIONS or ohos.permission.GRANT_SENSITIVE_PERMISSIONS or ohos.permission.REVOKE_SENSITIVE_PERMISSIONS
16   */
17  test(param1: string): Promise<Want>;
18
19  /**
20   * the ut for method in interface, method has permissions
21   *
22   * @permission
23   */
24  test(param1: string): Promise<Want>;
25}