การอ้างอิงคลาส GMSNavigationMutableSpeedometerUIOptions

การอ้างอิงคลาส GMSNavigationMutableSpeedometerUIOptions ของคลาส

ภาพรวม

คลาสที่เปลี่ยนแปลงได้ที่รวมการกำหนดค่า UI สำหรับความรุนแรงของการแจ้งเตือนความเร็วระดับต่างๆ ซึ่งแสดงด้วย GMSNavigationSpeedAlertSeverity

รับค่า GMSNavigationSpeedometerUIOptions

ฟังก์ชันสมาชิกแบบสาธารณะ

(void) - setTextColor:forSpeedAlertSeverity:lightingMode:
 ตั้งค่าสีของข้อความแจ้งเตือนความเร็วที่จะใช้สำหรับความรุนแรงของการแจ้งเตือนความเร็วที่ระบุและโหมดแสง
(void) - setBackgroundColor:forSpeedAlertSeverity:lightingMode:
 ตั้งค่าสีพื้นหลังของไอคอนการแจ้งเตือนความเร็วที่จะใช้สำหรับความรุนแรงของการแจ้งเตือนความเร็วและโหมดแสงที่ระบุ
(UIColor *)- textColorForSpeedAlertSeverity:lightingMode:
 รับสีของข้อความแจ้งเตือนความเร็วที่จะใช้กับระดับความรุนแรงของการแจ้งเตือนความเร็วและโหมดแสงที่ระบุ
(UIColor *)- backgroundColorForSpeedAlertSeverity:lightingMode:
 รับสีพื้นหลังไอคอนการแจ้งเตือนความเร็วเพื่อใช้กับความรุนแรงของการแจ้งเตือนความเร็วและโหมดแสงที่ระบุ

เอกสารประกอบเกี่ยวกับฟังก์ชันสมาชิก

- (void) setTextColor: (UIColor *) สี [color]
สำหรับ SpeedAlertSeverity: (GMSNavigationSpeedAlertSeverity) speedAlertSeverity
โหมดแสงไฟ: (GMSNavigationLightingMode) lightingMode

ตั้งค่าสีของข้อความแจ้งเตือนความเร็วที่จะใช้สำหรับความรุนแรงของการแจ้งเตือนความเร็วที่ระบุและโหมดแสง

@note พยายามตั้งค่าสีสำหรับ GMSNavigationSpeedAlertSeverityUnknown หรือ GMSNavigationSpeedAlertSeverityNotSpeeding ไม่ได้

- (void) setBackgroundColor: (UIColor *) สี [color]
สำหรับ SpeedAlertSeverity: (GMSNavigationSpeedAlertSeverity) speedAlertSeverity
โหมดแสงไฟ: (GMSNavigationLightingMode) lightingMode

ตั้งค่าสีพื้นหลังของไอคอนการแจ้งเตือนความเร็วที่จะใช้สำหรับความรุนแรงของการแจ้งเตือนความเร็วและโหมดแสงที่ระบุ

@note พยายามตั้งค่าสีสำหรับ GMSNavigationSpeedAlertSeverityUnknown หรือ GMSNavigationSpeedAlertSeverityNotSpeeding ไม่ได้

- (UIColor *) textColorForSpeedAlertSeverity: (GMSNavigationSpeedAlertSeverity) speedAlertSeverity
โหมดแสงไฟ: (GMSNavigationLightingMode) lightingMode

รับสีของข้อความแจ้งเตือนความเร็วที่จะใช้กับระดับความรุนแรงของการแจ้งเตือนความเร็วและโหมดแสงที่ระบุ

@note การดำเนินการนี้จะแสดง UIColor.clearColor สำหรับ GMSNavigationSpeedAlertSeverityUnknown และ GMSNavigationSpeedAlertSeverityNotSpeeding

- (UIColor *) backgroundColorForSpeedAlertSeverity: (GMSNavigationSpeedAlertSeverity) speedAlertSeverity
โหมดแสงไฟ: (GMSNavigationLightingMode) lightingMode

รับสีพื้นหลังไอคอนการแจ้งเตือนความเร็วเพื่อใช้กับความรุนแรงของการแจ้งเตือนความเร็วและโหมดแสงที่ระบุ

@note การดำเนินการนี้จะแสดง UIColor.clearColor สำหรับ GMSNavigationSpeedAlertSeverityUnknown และ GMSNavigationSpeedAlertSeverityNotSpeeding