diff --git a/api/@ohos.arkui.UIContext.d.ts b/api/@ohos.arkui.UIContext.d.ts index 4881309f6f54c99c7705b3933b57a358f5123edc..8d7fde48a61b84de71d2a470418e398eb4fa76cf 100644 --- a/api/@ohos.arkui.UIContext.d.ts +++ b/api/@ohos.arkui.UIContext.d.ts @@ -3702,7 +3702,19 @@ export declare class ComponentSnapshot { * @arkts 1.1&1.2 */ export declare class UIContext { - /** + + /** + * Get id of the UI instance. + * + * @returns { number } Returns id of the UI instance. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 22 + */ + getId(): number; + + /** * Checks whether the UiContext object ia available. * * @returns { boolean } Returns true if the UIConetxt object is available.