[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSNavigationMutableSpeedometerUIOptions\u003c/code\u003e allows customization of the UI for speed alerts with varying severity levels.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to set the text and background color for speed alerts based on severity and lighting mode.\u003c/p\u003e\n"],["\u003cp\u003eSetting colors for \u003ccode\u003eGMSNavigationSpeedAlertSeverityUnknown\u003c/code\u003e or \u003ccode\u003eGMSNavigationSpeedAlertSeverityNotSpeeding\u003c/code\u003e has no effect.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSNavigationMutableSpeedometerUIOptions\n========================================\n\n @interface GMSNavigationMutableSpeedometerUIOptions\n : ../Classes/GMSNavigationSpeedometerUIOptions.html\n\nThe mutable class that encapsulates UI configuration for different severities of speed alerts,\nrepresented by [GMSNavigationSpeedAlertSeverity](../Enums/GMSNavigationSpeedAlertSeverity.html).\n- `\n ``\n ``\n `\n\n ### [-setTextColor:forSpeedAlertSeverity:lightingMode:](#/c:objc(cs)GMSNavigationMutableSpeedometerUIOptions(im)setTextColor:forSpeedAlertSeverity:lightingMode:)\n\n `\n ` \n Sets the color of the speed alert text to use for the specified speed alert severity and lighting\n mode.\n\n @note: Attempting to set the color for `GMSNavigationSpeedAlertSeverityUnknown` or\n `GMSNavigationSpeedAlertSeverityNotSpeeding` is a no-op. \n\n #### Declaration\n\n Swift \n\n func setTextColor(_ color: UIColor, for speedAlertSeverity: ../Enums/GMSNavigationSpeedAlertSeverity.html, lightingMode: ../Enums/GMSNavigationLightingMode.html)\n\n Objective-C \n\n - (void)setTextColor:(nonnull UIColor *)color\n forSpeedAlertSeverity:(../Enums/GMSNavigationSpeedAlertSeverity.html)speedAlertSeverity\n lightingMode:(../Enums/GMSNavigationLightingMode.html)lightingMode;\n\n- `\n ``\n ``\n `\n\n ### [-setBackgroundColor:forSpeedAlertSeverity:lightingMode:](#/c:objc(cs)GMSNavigationMutableSpeedometerUIOptions(im)setBackgroundColor:forSpeedAlertSeverity:lightingMode:)\n\n `\n ` \n Sets the speed alert icon background color to use for the specified speed alert severity and\n lighting mode.\n\n @note: Attempting to set the color for `GMSNavigationSpeedAlertSeverityUnknown` or\n `GMSNavigationSpeedAlertSeverityNotSpeeding` is a no-op. \n\n #### Declaration\n\n Swift \n\n func setBackgroundColor(_ color: UIColor, for speedAlertSeverity: ../Enums/GMSNavigationSpeedAlertSeverity.html, lightingMode: ../Enums/GMSNavigationLightingMode.html)\n\n Objective-C \n\n - (void)setBackgroundColor:(nonnull UIColor *)color\n forSpeedAlertSeverity:(../Enums/GMSNavigationSpeedAlertSeverity.html)speedAlertSeverity\n lightingMode:(../Enums/GMSNavigationLightingMode.html)lightingMode;"]]