mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
commit
6fa6823adb
1
api/@ohos.ability.ability.d.ts
vendored
1
api/@ohos.ability.ability.d.ts
vendored
@ -113,6 +113,7 @@ declare namespace ability {
|
|||||||
* StartAbilityParameter secondary module.Define the Start Ability parameter, which can be used as
|
* StartAbilityParameter secondary module.Define the Start Ability parameter, which can be used as
|
||||||
* an input parameter to call [startAbility] to start the specified Ability.
|
* an input parameter to call [startAbility] to start the specified Ability.
|
||||||
*
|
*
|
||||||
|
* @typedef { _StartAbilityParameter }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.FAModel
|
* @syscap SystemCapability.Ability.AbilityRuntime.FAModel
|
||||||
* @FAModelOnly
|
* @FAModelOnly
|
||||||
* @since 9
|
* @since 9
|
||||||
|
3
api/@ohos.ability.featureAbility.d.ts
vendored
3
api/@ohos.ability.featureAbility.d.ts
vendored
@ -434,6 +434,7 @@ declare namespace featureAbility {
|
|||||||
* application-specific resources, request and verification permissions.
|
* application-specific resources, request and verification permissions.
|
||||||
* Can only be obtained through the ability.
|
* Can only be obtained through the ability.
|
||||||
*
|
*
|
||||||
|
* @typedef { _Context }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @FAModelOnly
|
* @FAModelOnly
|
||||||
* @since 9
|
* @since 9
|
||||||
@ -443,6 +444,7 @@ declare namespace featureAbility {
|
|||||||
/**
|
/**
|
||||||
* Defines an AppVersionInfo object.
|
* Defines an AppVersionInfo object.
|
||||||
*
|
*
|
||||||
|
* @typedef { _AppVersionInfo }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @FAModelOnly
|
* @FAModelOnly
|
||||||
* @since 9
|
* @since 9
|
||||||
@ -452,6 +454,7 @@ declare namespace featureAbility {
|
|||||||
/**
|
/**
|
||||||
* This process information about an application.
|
* This process information about an application.
|
||||||
*
|
*
|
||||||
|
* @typedef { _ProcessInfo }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @FAModelOnly
|
* @FAModelOnly
|
||||||
* @since 9
|
* @since 9
|
||||||
|
3
api/@ohos.app.ability.Want.d.ts
vendored
3
api/@ohos.app.ability.Want.d.ts
vendored
@ -57,6 +57,7 @@ export default class Want {
|
|||||||
/**
|
/**
|
||||||
* bundle name
|
* bundle name
|
||||||
*
|
*
|
||||||
|
* @type { ?string }
|
||||||
* @syscap SystemCapability.Ability.AbilityBase
|
* @syscap SystemCapability.Ability.AbilityBase
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -81,6 +82,7 @@ export default class Want {
|
|||||||
/**
|
/**
|
||||||
* ability name
|
* ability name
|
||||||
*
|
*
|
||||||
|
* @type { ?string }
|
||||||
* @syscap SystemCapability.Ability.AbilityBase
|
* @syscap SystemCapability.Ability.AbilityBase
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -233,6 +235,7 @@ export default class Want {
|
|||||||
/**
|
/**
|
||||||
* The description of an module name in an want.
|
* The description of an module name in an want.
|
||||||
*
|
*
|
||||||
|
* @type { ?string }
|
||||||
* @syscap SystemCapability.Ability.AbilityBase
|
* @syscap SystemCapability.Ability.AbilityBase
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
|
@ -260,6 +260,7 @@ declare namespace abilityDelegatorRegistry {
|
|||||||
/**
|
/**
|
||||||
* A global test utility interface used for adding AbilityMonitor objects and control lifecycle states of abilities.
|
* A global test utility interface used for adding AbilityMonitor objects and control lifecycle states of abilities.
|
||||||
*
|
*
|
||||||
|
* @typedef { _AbilityDelegator }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -283,6 +284,7 @@ declare namespace abilityDelegatorRegistry {
|
|||||||
/**
|
/**
|
||||||
* Store unit testing-related parameters, including test case names, and test runner name.
|
* Store unit testing-related parameters, including test case names, and test runner name.
|
||||||
*
|
*
|
||||||
|
* @typedef { _AbilityDelegatorArgs }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -309,6 +311,7 @@ declare namespace abilityDelegatorRegistry {
|
|||||||
* Provide methods for matching monitored Ability objects that meet specified conditions.
|
* Provide methods for matching monitored Ability objects that meet specified conditions.
|
||||||
* The most recently matched Ability objects will be saved in the AbilityMonitor object.
|
* The most recently matched Ability objects will be saved in the AbilityMonitor object.
|
||||||
*
|
*
|
||||||
|
* @typedef { _AbilityMonitor }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -325,6 +328,7 @@ declare namespace abilityDelegatorRegistry {
|
|||||||
/**
|
/**
|
||||||
* A object that records the result of shell command executes.
|
* A object that records the result of shell command executes.
|
||||||
*
|
*
|
||||||
|
* @typedef { _ShellCmdResult }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 11
|
* @since 11
|
||||||
|
11
api/@ohos.app.ability.common.d.ts
vendored
11
api/@ohos.app.ability.common.d.ts
vendored
@ -84,6 +84,7 @@ declare namespace common {
|
|||||||
/**
|
/**
|
||||||
* The context of an ability. It allows access to ability-specific resources.
|
* The context of an ability. It allows access to ability-specific resources.
|
||||||
*
|
*
|
||||||
|
* @typedef { _UIAbilityContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
@ -110,6 +111,7 @@ declare namespace common {
|
|||||||
/**
|
/**
|
||||||
* The context of an abilityStage. It allows access to abilityStage-specific resources.
|
* The context of an abilityStage. It allows access to abilityStage-specific resources.
|
||||||
*
|
*
|
||||||
|
* @typedef { _AbilityStageContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
@ -136,6 +138,7 @@ declare namespace common {
|
|||||||
/**
|
/**
|
||||||
* The context of an application. It allows access to application-specific resources.
|
* The context of an application. It allows access to application-specific resources.
|
||||||
*
|
*
|
||||||
|
* @typedef { _ApplicationContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
@ -162,6 +165,7 @@ declare namespace common {
|
|||||||
/**
|
/**
|
||||||
* The base context of 'app.Context' for FA Mode or 'application.Context' for Stage Mode.
|
* The base context of 'app.Context' for FA Mode or 'application.Context' for Stage Mode.
|
||||||
*
|
*
|
||||||
|
* @typedef { _BaseContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
@ -191,6 +195,7 @@ declare namespace common {
|
|||||||
* The base context of an ability or an application. It allows access to
|
* The base context of an ability or an application. It allows access to
|
||||||
* application-specific resources.
|
* application-specific resources.
|
||||||
*
|
*
|
||||||
|
* @typedef { _Context.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
@ -228,6 +233,7 @@ declare namespace common {
|
|||||||
* The context of form extension. It allows access to
|
* The context of form extension. It allows access to
|
||||||
* formExtension-specific resources.
|
* formExtension-specific resources.
|
||||||
*
|
*
|
||||||
|
* @typedef { _FormExtensionContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -239,6 +245,7 @@ declare namespace common {
|
|||||||
* The context of service extension. It allows access to
|
* The context of service extension. It allows access to
|
||||||
* serviceExtension-specific resources.
|
* serviceExtension-specific resources.
|
||||||
*
|
*
|
||||||
|
* @typedef { _ServiceExtensionContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @systemapi
|
* @systemapi
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
@ -318,6 +325,7 @@ declare namespace common {
|
|||||||
* The context of UI extension. It allows access to
|
* The context of UI extension. It allows access to
|
||||||
* UIExtension-specific resources.
|
* UIExtension-specific resources.
|
||||||
*
|
*
|
||||||
|
* @typedef { _UIExtensionContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
* @since 10
|
* @since 10
|
||||||
@ -328,6 +336,7 @@ declare namespace common {
|
|||||||
* The context of auto fill extension. It allows access to
|
* The context of auto fill extension. It allows access to
|
||||||
* AutoFillExtension-specific resources.
|
* AutoFillExtension-specific resources.
|
||||||
*
|
*
|
||||||
|
* @typedef { _AutoFillExtensionContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @systemapi
|
* @systemapi
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
@ -358,6 +367,7 @@ declare namespace common {
|
|||||||
/**
|
/**
|
||||||
* The class of auto startup callback.
|
* The class of auto startup callback.
|
||||||
*
|
*
|
||||||
|
* @typedef { _AutoStartupCallback }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @systemapi
|
* @systemapi
|
||||||
* @StageModelOnly
|
* @StageModelOnly
|
||||||
@ -379,6 +389,7 @@ declare namespace common {
|
|||||||
/**
|
/**
|
||||||
* The context of an embeddable UIAbility.
|
* The context of an embeddable UIAbility.
|
||||||
*
|
*
|
||||||
|
* @typedef { _EmbeddableUIAbilityContext.default }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @stagemodelonly
|
* @stagemodelonly
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
|
3
api/@ohos.app.ability.wantAgent.d.ts
vendored
3
api/@ohos.app.ability.wantAgent.d.ts
vendored
@ -451,6 +451,7 @@ declare namespace wantAgent {
|
|||||||
/**
|
/**
|
||||||
* Provides the information required for triggering a WantAgent.
|
* Provides the information required for triggering a WantAgent.
|
||||||
*
|
*
|
||||||
|
* @typedef { _TriggerInfo }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
@ -459,6 +460,7 @@ declare namespace wantAgent {
|
|||||||
/**
|
/**
|
||||||
* Provides the information required for triggering a WantAgent.
|
* Provides the information required for triggering a WantAgent.
|
||||||
*
|
*
|
||||||
|
* @typedef { _WantAgentInfo }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
@ -468,6 +470,7 @@ declare namespace wantAgent {
|
|||||||
/**
|
/**
|
||||||
* WantAgent object.
|
* WantAgent object.
|
||||||
*
|
*
|
||||||
|
* @typedef { object }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
1
api/@ohos.wantAgent.d.ts
vendored
1
api/@ohos.wantAgent.d.ts
vendored
@ -442,6 +442,7 @@ declare namespace wantAgent {
|
|||||||
/**
|
/**
|
||||||
* WantAgent object.
|
* WantAgent object.
|
||||||
*
|
*
|
||||||
|
* @typedef { object }
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @since 7
|
* @since 7
|
||||||
*/
|
*/
|
||||||
|
6
api/application/AbilityMonitor.d.ts
vendored
6
api/application/AbilityMonitor.d.ts
vendored
@ -116,6 +116,7 @@ export interface AbilityMonitor {
|
|||||||
/**
|
/**
|
||||||
* Called back when the ability is created for initialization.
|
* Called back when the ability is created for initialization.
|
||||||
*
|
*
|
||||||
|
* @type { ?function }.
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -139,6 +140,7 @@ export interface AbilityMonitor {
|
|||||||
/**
|
/**
|
||||||
* Called back when the state of the ability changes to foreground.
|
* Called back when the state of the ability changes to foreground.
|
||||||
*
|
*
|
||||||
|
* @type { ?function }.
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -162,6 +164,7 @@ export interface AbilityMonitor {
|
|||||||
/**
|
/**
|
||||||
* Called back when the state of the ability changes to background.
|
* Called back when the state of the ability changes to background.
|
||||||
*
|
*
|
||||||
|
* @type { ?function }.
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -185,6 +188,7 @@ export interface AbilityMonitor {
|
|||||||
/**
|
/**
|
||||||
* Called back before the ability is destroyed.
|
* Called back before the ability is destroyed.
|
||||||
*
|
*
|
||||||
|
* @type { ?function }.
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
@ -224,6 +228,7 @@ export interface AbilityMonitor {
|
|||||||
/**
|
/**
|
||||||
* Called back when an ability window stage is restored.
|
* Called back when an ability window stage is restored.
|
||||||
*
|
*
|
||||||
|
* @type { ?function }.
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
* @since 11
|
* @since 11
|
||||||
@ -246,6 +251,7 @@ export interface AbilityMonitor {
|
|||||||
/**
|
/**
|
||||||
* Called back when an ability window stage is destroyed.
|
* Called back when an ability window stage is destroyed.
|
||||||
*
|
*
|
||||||
|
* @type { ?function }.
|
||||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||||
* @crossplatform
|
* @crossplatform
|
||||||
* @atomicservice
|
* @atomicservice
|
||||||
|
Loading…
Reference in New Issue
Block a user