diff --git a/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets b/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets index 2e3a1a3ba478ac69c0474537922162ba7cebd735..6b52a4042d041b58b9bc6c251971f1d9365a259e 100644 --- a/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets +++ b/api/@ohos.arkui.advanced.FullScreenLaunchComponent.static.d.ets @@ -21,6 +21,7 @@ import AtomicServiceOptions from '@ohos.app.ability.AtomicServiceOptions'; import { Callback, ErrorCallback } from '@ohos.base'; +import { Component, BuilderParam, TerminationInfo, Builder } from '@ohos.arkui.component' /** * Defines RecordData. @@ -31,7 +32,15 @@ import { Callback, ErrorCallback } from '@ohos.base'; * @arkts 1.2 */ export type RecordData = undefined | null | Object | Record | Array; - +/** + * Defines ContentBuilder. + * + * @typedef { function } ContentBuilder + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ +@Builder +type ContentBuilder = () => void; /** * Declares the FullScreenLaunchComponent, a component provided by ArkUI that allows * you to define and use it in your application through the ArkTS-based declarative @@ -44,11 +53,11 @@ export type RecordData = undefined | null | Object | Record export declare struct FullScreenLaunchComponent { /** * Sets the component content. - * @type { Callback } + * @type { ContentBuilder } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - @BuilderParam content: Callback; + @BuilderParam content: ContentBuilder; /** * Indicates atomic service appId. * @type { string } @@ -88,4 +97,11 @@ export declare struct FullScreenLaunchComponent { * @since 20 */ onReceive?: Callback>; + + /** + * The method to build component. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + @Builder build(): void; } \ No newline at end of file