Table of Contents

Interface MegaTrackerSensorOptions

命名空间
easyar

MegaTrackerSensorOptions MegaTracker中的传感器选项。

属性

isAcceExternalControl

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

isAcceExternalControl?: boolean;

isGeoExternalControl

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

isGeoExternalControl?: boolean;