Signed-off-by: x30043723 <xieqiongyang@huawei.com>
Change-Id: Icc3f51b0cb4c9cc87cdb67f03247eb06dcdcfa56
This commit is contained in:
x30043723 2023-11-11 11:17:37 +00:00
parent 43aaa0c76c
commit 7fd3dc558f
8 changed files with 17 additions and 0 deletions

View File

@ -505,6 +505,7 @@ export default class UIExtensionContentSession {
* @throws { BusinessError } 16200001 - The caller has been released.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
startAbilityByType(type: string, wantParam: Record<string, Object>,
@ -528,6 +529,7 @@ export default class UIExtensionContentSession {
* @throws { BusinessError } 16200001 - The caller has been released.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
startAbilityByType(type: string, wantParam: Record<string, Object>,

View File

@ -228,6 +228,7 @@ declare namespace common {
*
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
export type AbilityStartCallback = _AbilityStartCallback;

View File

@ -19,6 +19,7 @@
* @namespace insightIntent
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
declare namespace insightIntent {
@ -28,6 +29,7 @@ declare namespace insightIntent {
* @enum { number }
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
enum ExecuteMode {
@ -36,6 +38,7 @@ declare namespace insightIntent {
*
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
UI_ABILITY_FOREGROUND = 0,
@ -75,6 +78,7 @@ declare namespace insightIntent {
* @typedef ExecuteResult
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
interface ExecuteResult {
@ -84,6 +88,7 @@ declare namespace insightIntent {
* @type { number }
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
code: number;
@ -94,6 +99,7 @@ declare namespace insightIntent {
* @type { ?Record<string, Object> }
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
result?: Record<string, Object>;

View File

@ -208,6 +208,7 @@ declare namespace formInfo {
* @type { boolean }
* @default false
* @syscap SystemCapability.Ability.Form
* @atomicservice
* @since 11
*/
transparencyEnabled: boolean;

View File

@ -841,6 +841,7 @@ export interface AbilityDelegator {
* @throws { BusinessError } 401 - If the input parameter is not valid parameter.
* @throws { BusinessError } 16000050 - Internal error.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @atomicservice
* @since 11
*/
setMockList(mockList: { [key: string]: string }): void;

View File

@ -17,6 +17,7 @@
* The callback of UIAbility or UIExtensionAbility.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
export default class AbilityStartCallback {
@ -29,6 +30,7 @@ export default class AbilityStartCallback {
* @param { string } message - The message returned if the UIAbility or UIExtensionAbility failed to start.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
onError(code: number, name: string, message: string): void;

View File

@ -249,6 +249,7 @@ export default class ApplicationContext extends Context {
* @throws { BusinessError } 16000011 - The context does not exist.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
setColorMode(colorMode: ConfigurationConstant.ColorMode): void;
@ -261,6 +262,7 @@ export default class ApplicationContext extends Context {
* @throws { BusinessError } 16000011 - The context does not exist.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
setLanguage(language: string): void;

View File

@ -2088,6 +2088,7 @@ export default class UIAbilityContext extends Context {
* @throws { BusinessError } 16200001 - The caller has been released.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
startAbilityByType(type: string, wantParam: Record<string, Object>,
@ -2111,6 +2112,7 @@ export default class UIAbilityContext extends Context {
* @throws { BusinessError } 16200001 - The caller has been released.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
* @atomicservice
* @since 11
*/
startAbilityByType(type: string, wantParam: Record<string, Object>,