diff --git a/api/@ohos.arkui.UIContext.d.ts b/api/@ohos.arkui.UIContext.d.ts index 9278165b5bd7f616acb3e86bc9c9dc9e263c4191..c9c59fa7996a272587ac741f61529f1cccffaa59 100644 --- a/api/@ohos.arkui.UIContext.d.ts +++ b/api/@ohos.arkui.UIContext.d.ts @@ -4840,6 +4840,17 @@ export declare class UIContext { * @since 21 */ static setResourceManagerCacheMaxCountForHSP(count: number): void; + + /** + * 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; } /**