개요
다양한 심각도의 속도 알림(GMSNavigationSpeedAlertSeverity)에 관한 UI 구성을 캡슐화하는 변경할 수 없는 클래스입니다.
이 클래스를 사용하여 보조 속도 알림과 주요 속도 알림의 글꼴 및 아이콘 배경 색상과 같은 속도 알림 UI를 맞춤설정할 수 있습니다.
GMSNavigationSpeedometerUIOptions를 사용해 다양한 심각도의 속도 알림 UI를 맞춤설정합니다. 속도 알림의 각 심각도에 대한 트리거 기준을 정의하려면 GMSNavigationSpeedAlertOptions를 사용해야 합니다.
GMSNavigationMutableSpeedometerUIOptions에서 상속받습니다.
공개 멤버 함수 | |
(UIColor *) | - textColorForSpeedAlertSeverity:lightingMode: |
지정된 속도 알림 심각도 및 조명 모드에 사용할 속도 알림 텍스트의 색상을 가져옵니다. | |
(UIColor *) | - backgroundColorForSpeedAlertSeverity:lightingMode: |
지정된 속도 알림 심각도 및 조명 모드에 사용할 속도 알림 아이콘 배경 색상을 가져옵니다. |
멤버 함수 문서
- (UIColor *) textColorForSpeedAlertSeverity: | (GMSNavigationSpeedAlertSeverity) | speedAlertSeverity | |
LightMode: | (GMSNavigationLightingMode) | lightingMode | |
지정된 속도 알림 심각도 및 조명 모드에 사용할 속도 알림 텍스트의 색상을 가져옵니다.
@note 이렇게 하면 GMSNavigationSpeedAlertSeverityUnknown
및 GMSNavigationSpeedAlertSeverityNotSpeeding
의 UIColor.clearColor가 반환됩니다.
- (UIColor *) backgroundColorForSpeedAlertSeverity: | (GMSNavigationSpeedAlertSeverity) | speedAlertSeverity | |
LightMode: | (GMSNavigationLightingMode) | lightingMode | |
지정된 속도 알림 심각도 및 조명 모드에 사용할 속도 알림 아이콘 배경 색상을 가져옵니다.
@note 이렇게 하면 GMSNavigationSpeedAlertSeverityUnknown
및 GMSNavigationSpeedAlertSeverityNotSpeeding
의 UIColor.clearColor가 반환됩니다.