mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-03-06 00:07:43 +00:00
commit
c6cdd476b6
4
api/@ohos.abilityAccessCtrl.d.ts
vendored
4
api/@ohos.abilityAccessCtrl.d.ts
vendored
@ -828,6 +828,7 @@ export { Permissions };
|
||||
/**
|
||||
* PermissionRequestResult interface.
|
||||
*
|
||||
* @typedef { _PermissionRequestResult }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -836,6 +837,7 @@ export { Permissions };
|
||||
/**
|
||||
* PermissionRequestResult interface.
|
||||
*
|
||||
* @typedef { _PermissionRequestResult }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -846,6 +848,7 @@ export type PermissionRequestResult = _PermissionRequestResult;
|
||||
/**
|
||||
* Context interface.
|
||||
*
|
||||
* @typedef { _Context }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -854,6 +857,7 @@ export type PermissionRequestResult = _PermissionRequestResult;
|
||||
/**
|
||||
* Context interface.
|
||||
*
|
||||
* @typedef { _Context }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
|
7
api/security/PermissionRequestResult.d.ts
vendored
7
api/security/PermissionRequestResult.d.ts
vendored
@ -46,6 +46,7 @@ export default class PermissionRequestResult {
|
||||
/**
|
||||
* The permissions passed in by the user.
|
||||
*
|
||||
* @type { Array<string> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @since 9
|
||||
@ -53,6 +54,7 @@ export default class PermissionRequestResult {
|
||||
/**
|
||||
* The permissions passed in by the user.
|
||||
*
|
||||
* @type { Array<string> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -61,6 +63,7 @@ export default class PermissionRequestResult {
|
||||
/**
|
||||
* The permissions passed in by the user.
|
||||
*
|
||||
* @type { Array<string> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -73,6 +76,7 @@ export default class PermissionRequestResult {
|
||||
* The results for the corresponding request permissions. The value 0 indicates that a
|
||||
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
|
||||
*
|
||||
* @type { Array<number> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @since 9
|
||||
@ -81,6 +85,7 @@ export default class PermissionRequestResult {
|
||||
* The results for the corresponding request permissions. The value 0 indicates that a
|
||||
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
|
||||
*
|
||||
* @type { Array<number> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -90,6 +95,7 @@ export default class PermissionRequestResult {
|
||||
* The results for the corresponding request permissions. The value 0 indicates that a
|
||||
* permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid.
|
||||
*
|
||||
* @type { Array<number> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @crossplatform
|
||||
@ -102,6 +108,7 @@ export default class PermissionRequestResult {
|
||||
* Specifies whether a dialog box is shown for each requested permission.
|
||||
* The value true means that a dialog box is shown, and false means the opposite.
|
||||
*
|
||||
* @type { ?Array<boolean> }
|
||||
* @syscap SystemCapability.Security.AccessToken
|
||||
* @stagemodelonly
|
||||
* @atomicservice
|
||||
|
Loading…
x
Reference in New Issue
Block a user