@ohos.application.formInfo (formInfo) (System API)

The formInfo module provides types and enums related to the widget information and state.

NOTE

The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. This module is deprecated since API version 9. You are advised to use formInfo instead. This topic describes only system APIs provided by the module. For details about its public APIs, see @ohos.application.formInfo (FormInfo).

Modules to Import

import formInfo from '@ohos.application.formInfo';

FormParam

Enumerates the widget parameters.

System capability: SystemCapability.Ability.Form

Name Value Description
IDENTITY_KEY 'ohos.extra.param.key.form_identity' Widget ID.
System API: This is a system API.