MegaTrackerSensorOptions Interface

Description

MegaTracker中的传感器选项。


Fields

isAcceExternalControl

TypeScript

isAcceExternalControl: boolean

加速度计数据是否由外部控制,默认为false。 传入true时,用户必须在 EasyARSession.start 前调用wx.startLocationUpdate或相应开启加速度计监听接口。 必须在 EasyARSession.stop 后才能调用wx.stopAccelerometer或相应停止加速度计监听接口。

isGeoExternalControl

TypeScript

isGeoExternalControl: boolean

GPS数据是否由外部控制,默认为false。 传入true时,用户必须在 EasyARSession.start 前调用wx.startLocationUpdate或相应开启GPS数据监听接口。 必须在 EasyARSession.stop 后才能调用wx.stopLocationUpdate或相应停止GPS数据监听接口。