diff --git a/api/@ohos.multimodalAwareness.userStatus.d.ts b/api/@ohos.multimodalAwareness.userStatus.d.ts
index 59ed91b17950722c687ab8fc86872cb6a52be74b..a3c7fe4169f8628c2d51c876fba3d328d46b1ab8 100644
--- a/api/@ohos.multimodalAwareness.userStatus.d.ts
+++ b/api/@ohos.multimodalAwareness.userStatus.d.ts
@@ -81,6 +81,135 @@ declare namespace userStatus {
CHILD = 1
}
+ /**
+ * Describe atomic capability to detect user status specific feature.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+
+ export enum UserStatusAtomicCap {
+ /**
+ * Represents the unknown atomic capability.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ ATOMIC_UNKNOWN = 0,
+
+ /**
+ * Represents the atomic capability for detecting the swing face position relative to the camera when the screen is on.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SWING_FACE_RELATIVE_POSITION_LIGHT = 1,
+
+ /**
+ * Represents the atomic capability for detecting changes in the number of swing faces in the camera view.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SWING_FACE_NUM_CHANGE = 2,
+
+ /**
+ * Represents the atomic capability for detecting swing gestures of the user hand.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SWING_GESTURE = 3,
+
+ /**
+ * Represents the atomic capability for detecting the swing face angle relative to the screen.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SWING_IGS_FACE_ANGLE = 4,
+
+ /**
+ * Represents the atomic capability for sensor gravity data.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SENSOR_GRAVITY = 5,
+
+ /**
+ * Represents the atomic capability for sensor gyroscope data.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SENSOR_GYROSCOPE = 6,
+
+ /**
+ * Represents the atomic capability for sensor accelerometer data.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SENSOR_ACCELEROMETER = 7,
+
+ /**
+ * Represents the atomic capability for sensor linear accelerometer data.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SENSOR_LINEAR_ACCELERATION = 8,
+
+ /**
+ * Represents the atomic capability for sensor rotation vector data.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SENSOR_ROTATION_VECTOR = 9,
+
+ /**
+ * Represents the atomic capability for sensor orientation data.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ SENSOR_ORIENTATION = 10,
+
+ /**
+ * Represents atomic capability for detecting user blowing data.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ LPC_BLOW = 11,
+
+ /**
+ * Represents the atomic capability for detecting user mood data.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ LPC_MOOD = 12,
+
+ /**
+ * Represents the atomic capability for detecting environmental sound intensity.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ LPC_ENV_SOUND = 13,
+
+ /**
+ * Represents the atomic capability for detecting noise intensity.
+ * @sysCap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ LPC_NOISE_SOUND = 14
+ }
+
/**
* Subscribe to age group detection feature.
* @param { 'userAgeGroupDetected' } type - Indicates the event type.
@@ -97,7 +226,6 @@ declare namespace userStatus {
*
4. IPC request exception.
* @syscap SystemCapability.MultimodalAwareness.UserStatus
* @since 20
- * @arkts 1.1&1.2
*/
function on(type: 'userAgeGroupDetected', callback: Callback): void;
@@ -116,8 +244,21 @@ declare namespace userStatus {
*
3. IPC request exception.
* @syscap SystemCapability.MultimodalAwareness.UserStatus
* @since 20
- * @arkts 1.1&1.2
*/
function off(type: 'userAgeGroupDetected', callback?: Callback): void;
+
+ /**
+ * Queries the capabilities supported by the device.
+ * @param { 'UserStatusAtomicCap' } type - Indicates the list of atomic capability types.
+ * @throws { BusinessError } 801 - Capability not supported. Function cannot work correctly due to limited
+ *
device capabilities.
+ * @throws { BusinessError } 33900001 - Service exception. Possible causes:
+ *
1. System error, such as a null pointer and container-related exception.
+ *
2. Node-API invocation exception, such as invalid Node-API status.
+ * @syscap SystemCapability.MultimodalAwareness.UserStatus
+ * @systemapi
+ * @since 21
+ */
+ function queryCapabilities(capabilities: UserStatusAtomicCap[]): boolean[];
}
export default userStatus;
\ No newline at end of file