Class Info |
|---|
public class BroadcastingPoint Broadcast point class. |
Constructor Name |
|---|
BroadcastingPoint(double distances, UnitEnum unit, GuideSpeechType speechType) Parameterized constructor of the BroadcastingPoint class, which can initialize the broadcast distance, broadcast unit, and broadcast point type. |
Qualifier and Type | Method Name and Description |
|---|---|
double | Obtains the broadcast distance of the current broadcast point. |
| Obtains the broadcast type of the current broadcast point. | |
int | Obtains the metric broadcast distance of the current broadcast point, in meters. |
getUnit() Obtains the metric and imperial units of the current broadcast point. | |
void | setBroadcastingDistances(int broadcastingDistances) Sets the broadcast distance of the current broadcast point. |
void | setGuideSpeechType(GuideSpeechType guideSpeechType) Sets the broadcast type of the current broadcast point. |
void | Sets the metric and imperial units of the current broadcast point. |
Constructor |
|---|
BroadcastingPoint(double distances, UnitEnum unit, GuideSpeechType speechType) Parameterized constructor of the BroadcastingPoint class, which can initialize the broadcast distance, broadcast unit, and broadcast point type. |
Parameters
Name | Description |
|---|---|
distances | Broadcast distance of the current broadcast point. |
unit | Metric and imperial units of the current broadcast point. |
speechType | Broadcast type of the current broadcast point. |
Method |
|---|
public double getBroadcastingDistances() Obtains the broadcast distance of the current broadcast point. |
Returns
Type | Description |
|---|---|
double | Broadcast distance, in meters. |
Method |
|---|
public GuideSpeechType getGuideSpeechType() Obtains the broadcast type of the current broadcast point. |
Returns
Type | Description |
|---|---|
Broadcast type. |
Method |
|---|
public int getMeterLen() Obtains the metric broadcast distance of the current broadcast point, in meters. |
Returns
Type | Description |
|---|---|
int | Metric broadcast distance, in meters. |
Method |
|---|
public UnitEnum getUnit() Obtains the metric and imperial units of the current broadcast point. |
Returns
Type | Description |
|---|---|
Metric and imperial units. |
Method |
|---|
public void setBroadcastingDistances(int broadcastingDistances) Sets the broadcast distance of the current broadcast point. |
Parameters
Name | Description |
|---|---|
broadcastingDistances | Broadcast distance, in meters. |
Method |
|---|
public void setGuideSpeechType(GuideSpeechType guideSpeechType) Sets the broadcast type of the current broadcast point. |
Parameters
Name | Description |
|---|---|
guideSpeechType | Broadcast type. |
Method |
|---|
public void setUnit(UnitEnum unit) Sets the metric and imperial units of the current broadcast point. |
Parameters
Name | Description |
|---|---|
unit | Metric and imperial units. |