1e41f4b71Sopenharmony_ci## AbilityFirstFrameStateObserver(系统接口) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci定义Ability首帧绘制完成事件监听对象,可以作为[on](js-apis-app-ability-appManager-sys.md#appmanageronabilityfirstframestate12)的入参监听Ability首帧绘制完成事件。 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **说明:** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> 本模块首批接口从API version 12开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 8e41f4b71Sopenharmony_ci> 本模块接口为系统接口。 9e41f4b71Sopenharmony_ci 10e41f4b71Sopenharmony_ci### 导入模块 11e41f4b71Sopenharmony_ci 12e41f4b71Sopenharmony_ci```ts 13e41f4b71Sopenharmony_ciimport { appManager } from '@kit.AbilityKit'; 14e41f4b71Sopenharmony_ci``` 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ci### 属性 17e41f4b71Sopenharmony_ci 18e41f4b71Sopenharmony_ci**系统接口**: 此接口为系统接口。 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ci**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci| 名称 | 类型 | 只读 | 必填 | 说明 | 23e41f4b71Sopenharmony_ci| ------------------------ | -------------------- | ---- | ---- | ------------------------------------------------------------ | 24e41f4b71Sopenharmony_ci| onAbilityFirstFrameDrawn | AsyncCallback\<void> | 是 | 否 | Ability首帧绘制完成时执行的回调函数。传入参数类型是[AbilityFirstFrameStateData](js-apis-inner-application-abilityFirstFrameStateData-sys)。 |