public class

NavLocation

extends BaseModel
java.lang.Object
   ↳ com.tencent.navix.api.model.BaseModel
     ↳ com.tencent.navix.api.model.NavLocation

Class Overview

导航定位点

Summary

Public Constructors
NavLocation(LatLng latLng, float speed, float accuracy, float course, float phoneDir, float altitude, long timestamp, int indoor, int provider, int motion, int motionConfidence, boolean isSimulated, int fusionType)
Public Methods
float getAccuracy()
精度,米
float getAltitude()
高度,米
float getDirection()
方向角
LatLng getLatLng()
经纬度
float getPhoneDirection()
手机朝向
int getProvider()
定位点provider
float getSpeed()
速度,米每秒
long getTimestamp()
时间戳,毫秒
boolean isSimulated()
是否为模拟点
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NavLocation (LatLng latLng, float speed, float accuracy, float course, float phoneDir, float altitude, long timestamp, int indoor, int provider, int motion, int motionConfidence, boolean isSimulated, int fusionType)

Public Methods

public float getAccuracy ()

精度,米

Returns
  • 精度

public float getAltitude ()

高度,米

Returns
  • 高度

public float getDirection ()

方向角

Returns
  • 方向角

public LatLng getLatLng ()

经纬度

Returns
  • 经纬度

public float getPhoneDirection ()

手机朝向

Returns
  • 手机朝向

public int getProvider ()

定位点provider

Returns
  • 定位点provider

public float getSpeed ()

速度,米每秒

Returns
  • 速度

public long getTimestamp ()

时间戳,毫秒

Returns
  • 时间戳

public boolean isSimulated ()

是否为模拟点