From ab6b11018465d7122870469406a0597864a9bb84 Mon Sep 17 00:00:00 2001 From: SUE Date: Sat, 12 Mar 2022 04:08:04 +0000 Subject: [PATCH] Signed-off-by:hellohyh001 --- api/@ohos.sensor.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@ohos.sensor.d.ts b/api/@ohos.sensor.d.ts index 231c236f6b..95d31e1183 100755 --- a/api/@ohos.sensor.d.ts +++ b/api/@ohos.sensor.d.ts @@ -713,9 +713,9 @@ declare namespace sensor { * @since 8 */ interface OrientationResponse extends Response { - x: number; /**< Orientation x-axis component */ - y: number; /**< Orientation y-axis component */ - z: number; /**< Orientation z-axis component */ + alpha: number; /**< The device rotates at an angle around the Z axis */ + beta: number; /**< The device rotates at an angle around the X axis */ + gamma: number; /**< The device rotates at an angle around the Y axis */ } /** -- Gitee