1e41f4b71Sopenharmony_ci# @ohos.app.ability.common (应用上下文Context)(系统接口) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci开发者可以通过该模块引用Ability公共模块类。 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **说明:** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 8e41f4b71Sopenharmony_ci> 9e41f4b71Sopenharmony_ci> 本模块接口仅可在Stage模型下使用。 10e41f4b71Sopenharmony_ci> 11e41f4b71Sopenharmony_ci> 当前页面仅包含本模块的系统接口,其他公开接口参见[@ohos.app.ability.common (应用上下文Context)](js-apis-app-ability-common.md)。 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci## 导入模块 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci```ts 16e41f4b71Sopenharmony_ciimport { common } from '@kit.AbilityKit'; 17e41f4b71Sopenharmony_ci``` 18e41f4b71Sopenharmony_ci## 属性 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ci**系统能力**:SystemCapability.Ability.AbilityRuntime.Core 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci| 名称 | 类型 | 只读 | 可选 | 说明 | 23e41f4b71Sopenharmony_ci| ----- | ---- | ----- | ----- | -------------- | 24e41f4b71Sopenharmony_ci| ServiceExtensionContext | [ServiceExtensionContext](js-apis-inner-application-serviceExtensionContext-sys.md) | 否 | 否 | ServiceExtensionContext二级模块。<br>**系统接口**:此接口为系统接口。| 25e41f4b71Sopenharmony_ci| AutoFillExtensionContext<sup>11+<sup> | [AutoFillExtensionContext](js-apis-inner-application-autoFillExtensionContext-sys.md) | 否 | 否 | AutoFillExtensionContext二级模块。<br>**系统接口**:此接口为系统接口。 | 26e41f4b71Sopenharmony_ci| AutoStartupInfo<sup>11+<sup> | [AutoStartupInfo](js-apis-inner-application-autoStartupInfo-sys.md) | 否 | 否 | AutoStartupInfo二级模块。<br>**系统接口**:此接口为系统接口。 | 27e41f4b71Sopenharmony_ci| AutoStartupCallback<sup>11+<sup> | [AutoStartupCallback](js-apis-inner-application-autoStartupCallback-sys.md) | 否 | 否 | AutoStartupCallback二级模块。<br>**系统接口**:此接口为系统接口。 | 28e41f4b71Sopenharmony_ci| UIServiceExtensionContext<sup>13+<sup> | [UIServiceExtensionContext ](js-apis-inner-application-uiserviceExtensionContext-sys.md) | 否 | 否 |UIServiceExtensionContext 二级模块。<br/>**系统接口**:此接口为系统接口。 | 29e41f4b71Sopenharmony_ci| UIServiceHostProxy<sup>13+<sup> | [UIServiceHostProxy](js-apis-inner-application-uiservicehostproxy-sys.md) | 否 | 否 | UIServiceHostProxy 二级模块。<br/>**系统接口**:此接口为系统接口。 | 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci**示例:** 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci```ts 34e41f4b71Sopenharmony_ciimport { common } from '@kit.AbilityKit'; 35e41f4b71Sopenharmony_ci 36e41f4b71Sopenharmony_cilet uiAbilityContext: common.UIAbilityContext; 37e41f4b71Sopenharmony_cilet abilityStageContext: common.AbilityStageContext; 38e41f4b71Sopenharmony_cilet applicationContext: common.ApplicationContext; 39e41f4b71Sopenharmony_cilet baseContext: common.BaseContext; 40e41f4b71Sopenharmony_cilet context: common.Context; 41e41f4b71Sopenharmony_cilet extensionContext: common.ExtensionContext; 42e41f4b71Sopenharmony_cilet formExtensionContext: common.FormExtensionContext; 43e41f4b71Sopenharmony_cilet vpnExtensionContext: common.VpnExtensionContext; 44e41f4b71Sopenharmony_cilet eventHub: common.EventHub; 45e41f4b71Sopenharmony_cilet pacMap: common.PacMap; 46e41f4b71Sopenharmony_cilet abilityResult: common.AbilityResult; 47e41f4b71Sopenharmony_cilet abilityStartCallback: common.AbilityStartCallback; 48e41f4b71Sopenharmony_cilet connectOptions: common.ConnectOptions; 49e41f4b71Sopenharmony_cilet autoFillExtensionContext: common.AutoFillExtensionContext; 50e41f4b71Sopenharmony_cilet uiServiceExtensionContext: common.UIServiceExtensionContext; 51e41f4b71Sopenharmony_cilet uiServiceHostProxy: common.UIServiceHostProxy; 52e41f4b71Sopenharmony_ci``` 53