Class Info |
|---|
public class NavigationRequest implements IMessageEntity 导航的请求信息类。 |
Qualifier and Type | Field and Description |
|---|---|
static final int | 用于请求设备是否支持室外高精度。 |
static final int | 用于请求设备导航状态。 |
Qualifier and Type | Method Name and Description |
|---|---|
int | getType() 获取请求类型。 |
void | setType(int type) 设置请求类型,请求类型请参阅:Constant-values。 |
Fields |
|---|
public static final int IS_SUPPORT_EX 用于请求设备是否支持室外高精度。 IS_SUPPORT_EX:2,其余常量值请参阅:Constant-values。 |
Constructor |
|---|
public NavigationRequest(int type) 构建一个NavigationRequest实例。 |
Parameters
Name | Description |
|---|---|
type | 请求类型,具体支持类型请参阅:Constant-values。 |
Method |
|---|
public void setType(int type) 设置请求类型。 |
Parameters
Name | Description |
|---|---|
type | 请求的类型,请求类型请参阅:Constant-values。 |