mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
Revert "增加禁用系统字体变化回调接口"
This reverts commit e92d726ab6
.
Signed-off-by: duao oh <duao@huawei.com>
This commit is contained in:
parent
e92d726ab6
commit
a539f47b25
21
api/@ohos.app.form.formInfo.d.ts
vendored
21
api/@ohos.app.form.formInfo.d.ts
vendored
@ -1055,27 +1055,6 @@ declare namespace formInfo {
|
||||
supportedDimensions?: Array<number>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configuration update flags.
|
||||
*
|
||||
* @typedef ConfigurationUpdateFlags
|
||||
* @syscap SystemCapability.Ability.Form
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
interface ConfigurationUpdateFlags {
|
||||
/**
|
||||
* Indicates whether font update enabled.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @default true
|
||||
* @syscap SystemCapability.Ability.Form
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
fontEnabled?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the FormDimension enum.
|
||||
*
|
||||
|
18
api/@ohos.app.form.formProvider.d.ts
vendored
18
api/@ohos.app.form.formProvider.d.ts
vendored
@ -113,24 +113,6 @@ declare namespace formProvider {
|
||||
*/
|
||||
function setFormNextRefreshTime(formId: string, minute: number): Promise<void>;
|
||||
|
||||
/**
|
||||
* Enable/disable configuration update by flags.
|
||||
*
|
||||
* @param { string } formId - Indicates the form ID.
|
||||
* @param { formInfo.ConfigurationUpdateFlags } enableFlags - Enable onConfigurationUpdate callback by flags.
|
||||
* @throws { BusinessError } 401 - If the input parameter is not valid parameter.
|
||||
* @throws { BusinessError } 16500050 - An IPC connection error happened.
|
||||
* @throws { BusinessError } 16500060 - A service connection error happened, please try again later.
|
||||
* @throws { BusinessError } 16500100 - Failed to obtain the configuration information.
|
||||
* @throws { BusinessError } 16501000 - An internal functional error occurred.
|
||||
* @throws { BusinessError } 16501001 - The ID of the form to be operated does not exist.
|
||||
* @throws { BusinessError } 16501003 - The form can not be operated by the current application.
|
||||
* @syscap SystemCapability.Ability.Form
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
function setConfigurationUpdateEnabled(formId: string, enableFlags: formInfo.ConfigurationUpdateFlags): void;
|
||||
|
||||
/**
|
||||
* Update a specified form.
|
||||
* Client to communication with FormManagerService.
|
||||
|
Loading…
Reference in New Issue
Block a user