diff --git a/api/@ohos.sensor.d.ts b/api/@ohos.sensor.d.ts index c9b139d77b77de4a89630b496ace211e60a2b733..1752c4467c7e8b811062eeac37a8ad76a727e36b 100755 --- a/api/@ohos.sensor.d.ts +++ b/api/@ohos.sensor.d.ts @@ -524,9 +524,9 @@ declare namespace sensor { * @syscap SystemCapability.Sensors.Sensor * @since 8 */ - function getAngleModifiy(currentRotationMatrix: Array, preRotationMatrix: Array, + function getAngleModify(currentRotationMatrix: Array, preRotationMatrix: Array, callback: AsyncCallback>): void; - function getAngleModifiy(currentRotationMatrix: Array, preRotationMatrix: Array): Promise>; + function getAngleModify(currentRotationMatrix: Array, preRotationMatrix: Array): Promise>; /** * Convert rotation vector to rotation matrix. @@ -726,6 +726,7 @@ declare namespace sensor { x: number; /**< Rotation vector x-axis component */ y: number; /**< Rotation vector y-axis component */ z: number; /**< Rotation vector z-axis component */ + w: number; /**< Scalar quantity */ } /**