Revert "增加禁用系统字体变化回调接口"

This reverts commit e92d726ab6.

Signed-off-by: duao oh <duao@huawei.com>
This commit is contained in:
孙海洋 2024-04-12 07:15:00 +00:00 committed by duao oh
parent e92d726ab6
commit a539f47b25
2 changed files with 0 additions and 39 deletions

View File

@ -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.
*

View File

@ -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.