公用類別
TimeAndDistance
擴充物件
TimeAndDistance 是不可變的類別,該類別同時代表前往目的地的時間和距離。
巢狀類別摘要
@interface | TimeAndDistance.DelaySeverity | 表示流量的承重程度。 |
常數摘要
int | DELAY_HEAVY | |
int | DELAY_LIGHT | |
int | DELAY_MEDIUM | |
int | DELAY_NODATA |
公用建構函式摘要
TimeAndDistance(int 秒, int 公尺)
|
|
TimeAndDistance(int 秒、 int 公尺、 intDelaySeverity)
|
|
TimeAndDistance(com.google.android.library.geo.navcore.model.TimeAndDistance coreTimeAndDistance)
|
公用方法摘要
int | |
int | |
int |
繼承方法摘要
常數
公開靜態最終版 int DELAY_HEAVY
常數值:
1
公開靜態 最終 int DELAY_LIGHT
常數值:
3
公開靜態最終版 int DELAY_MEDIUM
常數值:
2
公開靜態 最終 int DELAY_NODATA
常數值:
0
公用建構函式
public TimeAndDistance (int 秒, int 公尺)
參數
秒 | |
---|---|
公尺 |
public TimeAndDistance (int 秒、 int 公尺、 intDelaySeverity)
參數
秒 | |
---|---|
公尺 | |
delaySeverity |
public TimeAndDistance (com.google.android.libraries.geo.navcore.model.TimeAndDistance coreTimeAndDistance)
參數
coreTimeAndDistance |
---|