目录

BroadcastingType

Class Info

public class BroadcastingType

播报模式配置信息类。

Public Method Summary

Qualifier and Type

Method Name and Description

int

getBroadcastMode()

获取语言播报模式。

List<BroadcastingPoint>

getHighway()

获取高速道路播报点设置。

List<BroadcastingPoint>

getNormalWay()

获取普通道路播报点设置。

void

setBroadcastMode(int broadcastMode)

设置语音播报模式。

void

setHighway(List<BroadcastingPoint> highway)

设置高速道路播报点设置。

void

setNormalWay(List<BroadcastingPoint> normalWay)

设置普通道路播报点设置。

Public Methods

[h2]getBroadcastMode

Method

public int getBroadcastMode()

您调用此API可以获取语言播报模式。

Returns

Type

Description

int

语言播报模式

  • -1 默认值
  • 1 简洁播报
  • 2 详细播报
  • 3 自定义播报

[h2]getHighway

Method

public List<BroadcastingPoint> getHighway()

您调用此API可以获取高速道路播报点设置。

Returns

Type

Description

List<BroadcastingPoint>

高速道路播报点设置。可获取播报点的播报距离、单位、播报类型。

[h2]getNormalWay

Method

public List<BroadcastingPoint> getNormalWay()

您调用此API可以获取普通道路播报点设置。

Returns

Type

Description

List<BroadcastingPoint>

普通道路播报点设置。可获取播报点的播报距离、单位、播报类型。

[h2]setBroadcastMode

Method

public void setBroadcastMode(int broadcastMode)

您调用此API可以设置语言播报模式。

Parameters

Name

Description

broadcastMode

语言播报模式

  • -1 其他播报模式走默认
  • 1 简洁播报
  • 2 详细播报
  • 3 自定义播报

[h2]setHighway

Method

public void setHighway(List<BroadcastingPoint> highway)

您调用此API可以设置高速道路播报点设置。

Parameters

Name

Description

highway

高速道路播报点设置。

[h2]setNormalWay

Method

public void setNormalWay(List<BroadcastingPoint> normalWay)

您调用此API可以设置普通道路播报点设置。

Parameters

Name

Description

normalWay

普通道路播报点设置。