harmony 鸿蒙js-apidiff-ability

  • 2023-06-24
  • 浏览 (425)

Change Type Old Version New Version d.ts File
Added NA Class name: LaunchReason
Method or attribute name: SHARE = 5
@ohos.app.ability.AbilityConstant.d.ts
Added NA Module name: ohos.app.ability.abilityManager
Class name: abilityManager
Method or attribute name: function acquireShareData(missionId: number, callback: AsyncCallback<{ [key: string]: Object }>): void;
@ohos.app.ability.abilityManager.d.ts
Added NA Module name: ohos.app.ability.abilityManager
Class name: abilityManager
Method or attribute name: function acquireShareData(missionId: number): Promise<{ [key: string]: Object }>;
@ohos.app.ability.abilityManager.d.ts
Added NA Module name: ohos.app.ability.appManager
Class name: appManager
Method or attribute name: function isSharedBundleRunning(bundleName: string, versionCode: number): Promise<boolean>;
@ohos.app.ability.appManager.d.ts
Added NA Module name: ohos.app.ability.appManager
Class name: appManager
Method or attribute name: function isSharedBundleRunning(bundleName: string, versionCode: number, callback: AsyncCallback<boolean>): void;
@ohos.app.ability.appManager.d.ts
Added NA Class name: appRecovery
Method or attribute name: function setRestartWant(want: Want): void;
@ohos.app.ability.appRecovery.d.ts
Added NA Class name: appRecovery
Method or attribute name: function saveAppState(context?: UIAbilityContext): boolean;
@ohos.app.ability.appRecovery.d.ts
Added NA Module name: ohos.app.ability.quickFixManager
Class name: quickFixManager
Method or attribute name: function revokeQuickFix(bundleName: string, callback: AsyncCallback<void>): void;
@ohos.app.ability.quickFixManager.d.ts
Added NA Module name: ohos.app.ability.quickFixManager
Class name: quickFixManager
Method or attribute name: function revokeQuickFix(bundleName: string): Promise<void>;
@ohos.app.ability.quickFixManager.d.ts
Added NA Module name: ohos.app.ability.UIAbility
Class name: OnRemoteStateChangeCallback
@ohos.app.ability.UIAbility.d.ts
Added NA Module name: ohos.app.ability.UIAbility
Class name: OnRemoteStateChangeCallback
Method or attribute name: (msg: string): void;
@ohos.app.ability.UIAbility.d.ts
Added NA Module name: ohos.app.ability.UIAbility
Class name: Caller
Method or attribute name: onRemoteStateChange(callback: OnRemoteStateChangeCallback): void;
@ohos.app.ability.UIAbility.d.ts
Added NA Class name: UIAbility
Method or attribute name: onShare(wantParam: { [key: string]: Object }): void;
@ohos.app.ability.UIAbility.d.ts
Added NA Module name: ohos.app.ability.wantConstant
Class name: Params
Method or attribute name: ABILITY_RECOVERY_RESTART = “ohos.ability.params.abilityRecoveryRestart”
@ohos.app.ability.wantConstant.d.ts
Added NA Module name: ohos.app.ability.wantConstant
Class name: Params
Method or attribute name: CONTENT_TITLE_KEY = ‘ohos.extra.param.key.contentTitle’
@ohos.app.ability.wantConstant.d.ts
Added NA Module name: ohos.app.ability.wantConstant
Class name: Params
Method or attribute name: SHARE_ABSTRACT_KEY = ‘ohos.extra.param.key.shareAbstract’
@ohos.app.ability.wantConstant.d.ts
Added NA Module name: ohos.app.ability.wantConstant
Class name: Params
Method or attribute name: SHARE_URL_KEY = ‘ohos.extra.param.key.shareUrl’
@ohos.app.ability.wantConstant.d.ts
Added NA Module name: ohos.app.form.FormExtensionAbility
Class name: FormExtensionAbility
Method or attribute name: onAcquireFormData?(formId: string): { [key: string]: Object };
@ohos.app.form.FormExtensionAbility.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function getRunningFormInfos(callback: AsyncCallback<Array<formInfo.RunningFormInfo>>, hostBundleName?: string): void;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function getRunningFormInfos(hostBundleName?: string): Promise<Array<formInfo.RunningFormInfo>>;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function on(type: “formAdd”, observerCallback: Callback<formInfo.RunningFormInfo>, bundleName?: string): void;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function off(type: “formAdd”, observerCallback?: Callback<formInfo.RunningFormInfo>, bundleName?: string): void;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function on(type: “formRemove”, observerCallback: Callback<formInfo.RunningFormInfo>, bundleName?: string): void;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function off(type: “formRemove”, observerCallback?: Callback<formInfo.RunningFormInfo>, bundleName?: string): void;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function acquireFormData(formId: string, callback: AsyncCallback<{[key: string]: Object}>): void;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function acquireFormData(formId: string): Promise<{[key: string]: Object}>;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function getRunningFormInfosByFilter(formProviderFilter: formInfo.FormProviderFilter): Promise<Array<formInfo.RunningFormInfo>>;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function getRunningFormInfosByFilter(formProviderFilter: formInfo.FormProviderFilter, callback: AsyncCallback<Array<formInfo.RunningFormInfo>>): void;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function getRunningFormInfoById(formId: string): Promise<formInfo.RunningFormInfo>;
@ohos.app.form.formHost.d.ts
Added NA Module name: ohos.app.form.formHost
Class name: formHost
Method or attribute name: function getRunningFormInfoById(formId: string, callback: AsyncCallback<formInfo.RunningFormInfo>): void;
@ohos.app.form.formHost.d.ts
Added NA Class name: FormInfo
Method or attribute name: descriptionId: number;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: FormParam
Method or attribute name: LAUNCH_REASON_KEY = “ohos.extra.param.key.form_launch_reason”
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: FormParam
Method or attribute name: PARAM_FORM_CUSTOMIZE_KEY = “ohos.extra.param.key.form_customize”
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: VisibilityType
Method or attribute name: UNKNOWN = 0
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: LaunchReason
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: LaunchReason
Method or attribute name: FORM_DEFAULT = 1
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: LaunchReason
Method or attribute name: FORM_SHARE
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: FormProviderFilter
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: FormProviderFilter
Method or attribute name: bundleName: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: FormProviderFilter
Method or attribute name: formName ?: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: FormProviderFilter
Method or attribute name: moduleName ?: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: FormProviderFilter
Method or attribute name: abilityName ?: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
Method or attribute name: readonly formId: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
Method or attribute name: readonly bundleName: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
Method or attribute name: readonly hostBundleName: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
Method or attribute name: readonly visibilityType: VisibilityType;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
Method or attribute name: readonly moduleName: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
Method or attribute name: readonly abilityName: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
Method or attribute name: readonly formName: string;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.app.form.formInfo
Class name: RunningFormInfo
Method or attribute name: readonly dimension: number;
@ohos.app.form.formInfo.d.ts
Added NA Module name: ohos.application.StaticSubscriberExtensionAbility
Class name: StaticSubscriberExtensionAbility
Method or attribute name: context: StaticSubscriberExtensionContext;
@ohos.application.StaticSubscriberExtensionAbility.d.ts
Added NA Module name: ohos.application.StaticSubscriberExtensionContext
Class name: StaticSubscriberExtensionContext
@ohos.application.StaticSubscriberExtensionContext.d.ts
Added NA Module name: ohos.application.StaticSubscriberExtensionContext
Class name: StaticSubscriberExtensionContext
Method or attribute name: startAbility(want: Want, callback: AsyncCallback<void>): void;
@ohos.application.StaticSubscriberExtensionContext.d.ts
Added NA Module name: ohos.application.StaticSubscriberExtensionContext
Class name: StaticSubscriberExtensionContext
Method or attribute name: startAbility(want: Want): Promise<void>;
@ohos.application.StaticSubscriberExtensionContext.d.ts
Added NA Module name: ohos.application.uriPermissionManager
Class name: uriPermissionManager
@ohos.application.uriPermissionManager.d.ts
Added NA Module name: ohos.application.uriPermissionManager
Class name: uriPermissionManager
Method or attribute name: function grantUriPermission(uri: string, flag: wantConstant.Flags, targetBundleName: string, callback: AsyncCallback<number>): void;
@ohos.application.uriPermissionManager.d.ts
Added NA Module name: ohos.application.uriPermissionManager
Class name: uriPermissionManager
Method or attribute name: function grantUriPermission(uri: string, flag: wantConstant.Flags, targetBundleName: string): Promise<number>;
@ohos.application.uriPermissionManager.d.ts
Added NA Module name: ohos.application.uriPermissionManager
Class name: uriPermissionManager
Method or attribute name: function revokeUriPermission(uri: string, targetBundleName: string, callback: AsyncCallback<number>): void;
@ohos.application.uriPermissionManager.d.ts
Added NA Module name: ohos.application.uriPermissionManager
Class name: uriPermissionManager
Method or attribute name: function revokeUriPermission(uri: string, targetBundleName: string): Promise<number>;
@ohos.application.uriPermissionManager.d.ts
Added NA Module name: ErrorObserver
Class name: ErrorObserver
Method or attribute name: onException?(errObject: Error): void;
ErrorObserver.d.ts
Added NA Class name: ServiceExtensionContext
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise<Caller>;
ServiceExtensionContext.d.ts
Added NA Class name: UIAbilityContext
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise<Caller>;
UIAbilityContext.d.ts
Permission added Class name: ServiceExtensionContext
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void;
Permission: N/A
Class name: ServiceExtensionContext
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void;
Permission: ohos.permission.START_INVISIBLE_ABILITY
ServiceExtensionContext.d.ts
Permission added Class name: ServiceExtensionContext
Method or attribute name: startServiceExtensionAbility(want: Want): Promise<void>;
Permission: N/A
Class name: ServiceExtensionContext
Method or attribute name: startServiceExtensionAbility(want: Want): Promise<void>;
Permission: ohos.permission.START_INVISIBLE_ABILITY
ServiceExtensionContext.d.ts
Permission added Class name: ServiceExtensionContext
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Permission: N/A
Class name: ServiceExtensionContext
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Permission: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION
ServiceExtensionContext.d.ts
Permission added Class name: UIAbilityContext
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void;
Permission: N/A
Class name: UIAbilityContext
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void;
Permission: ohos.permission.START_INVISIBLE_ABILITY
UIAbilityContext.d.ts
Permission added Class name: UIAbilityContext
Method or attribute name: startServiceExtensionAbility(want: Want): Promise<void>;
Permission: N/A
Class name: UIAbilityContext
Method or attribute name: startServiceExtensionAbility(want: Want): Promise<void>;
Permission: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION
UIAbilityContext.d.ts
Permission added Class name: UIAbilityContext
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Permission: N/A
Class name: UIAbilityContext
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Permission: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION
UIAbilityContext.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

harmony 鸿蒙js-apidiff-distributed-data

0  赞