mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 23:30:15 +00:00
整改api扫描问题
Signed-off-by: li-yaoyao777 <liyaoyao7@huawei.com>
This commit is contained in:
parent
a32c989018
commit
4d8f4345da
6
api/@system.sensor.d.ts
vendored
6
api/@system.sensor.d.ts
vendored
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user