GMSNavigationMutableSpeedometerUIOptions クラス リファレンス

GMSNavigationMutableSpeedometerUIOptions クラス リファレンス

概要

GMSNavigationSpeedAlertSeverity で表される、重大度に応じた速度アラートの UI 設定をカプセル化する可変クラス。

GMSNavigationSpeedometerUIOptions を継承します。

パブリック メンバー関数

(void) - setTextColor:forSpeedAlertSeverity:lightingMode:
 指定した速度アラートの重大度とライトモードで使用する速度アラートのテキストの色を設定します。
(void) - setBackgroundColor:forSpeedAlertSeverity:lightingMode:
 指定した速度アラートの重大度とライトモードで使用する速度アラート アイコンの背景色を設定します。
(UIColor *)- textColorForSpeedAlertSeverity:lightingMode:
 指定された速度アラートの重大度と照明モードに使用する速度アラートのテキストの色を取得します。
(UIColor *)- backgroundColorForSpeedAlertSeverity:lightingMode:
 指定された速度アラートの重大度と照明モードに使用する速度アラート アイコンの背景色を取得します。

メンバー関数のドキュメント

- (void) setTextColor: (UIColor *)
forSpeedAlertSeverity: GMSNavigationSpeedAlertSeverity speedAlertSeverity
lightingMode: GMSNavigationLightingMode lightingMode

指定した速度アラートの重大度とライトモードで使用する速度アラートのテキストの色を設定します。

@note GMSNavigationSpeedAlertSeverityUnknown または GMSNavigationSpeedAlertSeverityNotSpeeding の色を設定しようとしても何も起こりません。

- (void) setBackgroundColor: (UIColor *)
forSpeedAlertSeverity: GMSNavigationSpeedAlertSeverity speedAlertSeverity
lightingMode: GMSNavigationLightingMode lightingMode

指定した速度アラートの重大度とライトモードで使用する速度アラート アイコンの背景色を設定します。

@note GMSNavigationSpeedAlertSeverityUnknown または GMSNavigationSpeedAlertSeverityNotSpeeding の色を設定しようとしても何も起こりません。

- (UIColor *) textColorForSpeedAlertSeverity: GMSNavigationSpeedAlertSeverity speedAlertSeverity
lightingMode: GMSNavigationLightingMode lightingMode

指定された速度アラートの重大度と照明モードに使用する速度アラートのテキストの色を取得します。

@note これは、GMSNavigationSpeedAlertSeverityUnknownGMSNavigationSpeedAlertSeverityNotSpeeding に対して UIColor.clearColor を返します。

- (UIColor *) backgroundColorForSpeedAlertSeverity: GMSNavigationSpeedAlertSeverity speedAlertSeverity
lightingMode: GMSNavigationLightingMode lightingMode

指定された速度アラートの重大度と照明モードに使用する速度アラート アイコンの背景色を取得します。

@note これは、GMSNavigationSpeedAlertSeverityUnknownGMSNavigationSpeedAlertSeverityNotSpeeding に対して UIColor.clearColor を返します。