!1071 修改方向传感器数据格式

Merge pull request !1071 from SUE/master
This commit is contained in:
openharmony_ci 2022-03-12 10:04:21 +00:00 committed by Gitee
commit fdc63e9088
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -894,9 +894,9 @@ declare namespace sensor {
* @since 8 * @since 8
*/ */
interface OrientationResponse extends Response { interface OrientationResponse extends Response {
x: number; /**< Orientation x-axis component */ alpha: number; /**< The device rotates at an angle around the Z axis */
y: number; /**< Orientation y-axis component */ beta: number; /**< The device rotates at an angle around the X axis */
z: number; /**< Orientation z-axis component */ gamma: number; /**< The device rotates at an angle around the Y axis */
} }
/** /**