public class

NavTurnRestrictionInfo

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

Class Overview

导航中转向限制信息

Summary

Public Constructors
NavTurnRestrictionInfo(int turnType, NavRoutePoint routePoint, boolean always, String timeDesc, int limitCarType, int distance, String roadName)
Public Methods
int getDistance()
当前点到限制点的距离,单位米
String toString()
[Expand]
Inherited Methods
From class com.tencent.navix.api.model.NavTurnRestriction
From class java.lang.Object

Public Constructors

public NavTurnRestrictionInfo (int turnType, NavRoutePoint routePoint, boolean always, String timeDesc, int limitCarType, int distance, String roadName)

Public Methods

public int getDistance ()

当前点到限制点的距离,单位米

public String toString ()