mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
update
Signed-off-by: x30043723 <xieqiongyang@huawei.com> Change-Id: Icc3f51b0cb4c9cc87cdb67f03247eb06dcdcfa56
This commit is contained in:
parent
43aaa0c76c
commit
7fd3dc558f
@ -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>,
|
||||
|
1
api/@ohos.app.ability.common.d.ts
vendored
1
api/@ohos.app.ability.common.d.ts
vendored
@ -228,6 +228,7 @@ declare namespace common {
|
||||
*
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
*/
|
||||
export type AbilityStartCallback = _AbilityStartCallback;
|
||||
|
6
api/@ohos.app.ability.insightIntent.d.ts
vendored
6
api/@ohos.app.ability.insightIntent.d.ts
vendored
@ -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>;
|
||||
|
1
api/@ohos.app.form.formInfo.d.ts
vendored
1
api/@ohos.app.form.formInfo.d.ts
vendored
@ -208,6 +208,7 @@ declare namespace formInfo {
|
||||
* @type { boolean }
|
||||
* @default false
|
||||
* @syscap SystemCapability.Ability.Form
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
*/
|
||||
transparencyEnabled: boolean;
|
||||
|
1
api/application/AbilityDelegator.d.ts
vendored
1
api/application/AbilityDelegator.d.ts
vendored
@ -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;
|
||||
|
2
api/application/AbilityStartCallback.d.ts
vendored
2
api/application/AbilityStartCallback.d.ts
vendored
@ -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;
|
||||
|
2
api/application/ApplicationContext.d.ts
vendored
2
api/application/ApplicationContext.d.ts
vendored
@ -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;
|
||||
|
2
api/application/UIAbilityContext.d.ts
vendored
2
api/application/UIAbilityContext.d.ts
vendored
@ -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>,
|
||||
|
Loading…
Reference in New Issue
Block a user