總覽
不可變的類別,會定義不同速度快訊嚴重性的觸發門檻,以 GMSNavigationSpeedAlertSeverity 表示。
可讓您自訂次要快訊和主要快訊的速動快訊觸發門檻 (以百分比表示),並自訂主要速度快訊的觸發門檻。
由此所對應的閾值觸發的速度快訊GMSNavigationSpeedAlertOptions 設有 GMSNavigationSpeedometerUIOptions 自訂的使用者介面。
由 GMSNavigationMutableSpeedAlertOptions 繼承。
公開成員函式 | |
(CGFloat) | - thresholdPercentageForSpeedAlertSeverity: |
取得特定 GMSNavigationSpeedAlertSeverity 的速度快訊門檻 (百分比)。 | |
資源 | |
NSTimeInterval | severityUpgradeDurationSeconds |
時間長度門檻控管了速度快訊嚴重性升級作業。 |
成員函式說明文件
- (CGFloat) thresholdPercentageForSpeedAlertSeverity: | (GMSNavigationSpeedAlertSeverity) | speedAlertSeverity |
取得特定 GMSNavigationSpeedAlertSeverity 的速度快訊門檻 (百分比)。
值 0.0 代表 0%,1.0 則表示 100%。負值表示尚未針對該 speedingType 設定門檻。
屬性說明文件
- (NSTimeInterval) severityUpgradeDurationSeconds [read, assign] |