diff --git a/api/wantAgent/wantAgentInfo.d.ts b/api/wantAgent/wantAgentInfo.d.ts index 2c2b198199ad37ed98e54223c0d552db8314c898..56f13c6c4412ece10179ff0d7d2f5dbe87f55751 100644 --- a/api/wantAgent/wantAgentInfo.d.ts +++ b/api/wantAgent/wantAgentInfo.d.ts @@ -187,4 +187,15 @@ export interface WantAgentInfo { * @since 12 */ extraInfos?: Record; + + /** + * Indicates the user ID, If the user ID not specified, the current user ID is used by default. + * + * @type { ?number } + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi + * @stagemodelonly + * @since 20 + */ + userId?: number; }