整改api扫描问题

Signed-off-by: li-yaoyao777 <liyaoyao7@huawei.com>
This commit is contained in:
li-yaoyao777 2022-11-18 16:54:55 +08:00
parent a32c989018
commit 4d8f4345da

View File

@ -362,7 +362,7 @@ export interface DeviceOrientationResponse {
* @syscap SystemCapability.Sensors.Sensor
* @since 6
* @deprecated since 8
* @useinstead ohos.sensor/sensor#event:SensorId.ROTATION_VECTOR
* @useinstead ohos.sensor/sensor#event:SensorId.ORIENTATION
*/
export interface SubscribeDeviceOrientationOptions {
/**
@ -636,7 +636,7 @@ export default class Sensor {
* @syscap SystemCapability.Sensors.Sensor
* @since 6
* @deprecated since 8
* @useinstead ohos.sensor/sensor#event:SensorId.ROTATION_VECTOR
* @useinstead ohos.sensor/sensor#event:SensorId.ORIENTATION
*/
static subscribeDeviceOrientation(options: SubscribeDeviceOrientationOptions): void;
@ -645,7 +645,7 @@ export default class Sensor {
* @syscap SystemCapability.Sensors.Sensor
* @since 6
* @deprecated since 8
* @useinstead ohos.sensor/sensor#event:SensorId.ROTATION_VECTOR
* @useinstead ohos.sensor/sensor#event:SensorId.ORIENTATION
*/
static unsubscribeDeviceOrientation(): void;