MobilityGetTransitStopInfoPreviewOptionalParams interface
選擇性參數。
- Extends
-
RequestOptionsBase
屬性
detail |
將個別要求給傳輸站的其他詳細數據指定為 commma 分隔清單。 |
language | 將傳回搜尋結果的語言。 僅支援NGT。 如需詳細資訊,請參閱 支援的語言 。 |
query |
停止的唯一查詢參數類型。 根據預設,queryType=stopId。 可能的值包括:'stopId'、'stopKey' |
繼承的屬性
abort |
可用來中止要求的訊號。 |
custom |
{object}[customHeaders]使用者定義自定義要求標頭,會在傳送要求之前套用。 |
on |
下載進度時引發的回呼。 |
on |
上傳進度時引發的回呼。 |
timeout | 要求可能需要的毫秒數,才能自動終止。 |
屬性詳細資料
detailType
language
queryType
停止的唯一查詢參數類型。 根據預設,queryType=stopId。 可能的值包括:'stopId'、'stopKey'
queryType?: TransitStopQueryType
屬性值
繼承的屬性詳細資料
abortSignal
可用來中止要求的訊號。
abortSignal?: AbortSignalLike
屬性值
AbortSignalLike
繼承自 RequestOptionsBase.abortSignal
customHeaders
{object}[customHeaders]使用者定義自定義要求標頭,會在傳送要求之前套用。
customHeaders?: [key: string]: string
屬性值
[key: string]: string
繼承自 RequestOptionsBase.customHeaders
onDownloadProgress
下載進度時引發的回呼。
onDownloadProgress?: (progress: TransferProgressEvent) => void
屬性值
(progress: TransferProgressEvent) => void
繼承自 RequestOptionsBase.onDownloadProgress
onUploadProgress
上傳進度時引發的回呼。
onUploadProgress?: (progress: TransferProgressEvent) => void
屬性值
(progress: TransferProgressEvent) => void
繼承自 RequestOptionsBase.onUploadProgress
timeout
要求可能需要的毫秒數,才能自動終止。
timeout?: number
屬性值
number
繼承自 RequestOptionsBase.timeout