目录

CustomizedTtsPoint

Class Info

public class CustomizedTtsPoint

自定义Tts播报点对象类。

Public Method Summary

Qualifier and Type

Method Name and Description

int

getMaxTtsLen()

允许播报最长的字符数。

int

getType()

区分起终点及其他特殊播报点的类型。

List<CustomizedTts>

getTexts()

获取播报文本。

Map<CustomizedTtsType, String>

textsMap()

播报的文本转换为Map对象。

Public Methods

[h2]getMaxTtsLen

Method

public int getMaxTtsLen()

您调用此API可以获取允许播报最长的字符数。

Returns

Type

Description

int

允许播报最长的字符数。

[h2]getTexts

Method

public List<CustomizedTts> getTexts()

您调用此API可以获取播报文本。

Returns

Type

Description

List<CustomizedTts>

播报文本对象的集合。

[h2]getType

Method

public int getType()

您调用此API可以获取区分起终点及其他特殊播报点的类型。

Returns

Type

Description

int

起终点及其他特殊播报点的类型。

[h2]textsMap

Method

public Map<CustomizedTtsType, String> textsMap()

您调用此API可以播报的文本转换为Map对象。

Returns

Type

Description

Map<CustomizedTtsType, String>

Map对象。