GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSNavigationSpeedAlertSeverity
NS_ENUM(NSInteger, GMSNavigationSpeedAlertSeverity) {
/** Either speed or speed limit could not be determined. */
GMSNavigationSpeedAlertSeverityUnknown = -2,
/** No speeding is occurring. */
GMSNavigationSpeedAlertSeverityNotSpeeding = -1,
/** Minor speed alert. */
GMSNavigationSpeedAlertSeverityMinor = 0,
/** Major speed alert. */
GMSNavigationSpeedAlertSeverityMajor,
}
-
Either speed or speed limit could not be determined.
Declaration
Objective-C
GMSNavigationSpeedAlertSeverityUnknown = -2
-
No speeding is occurring.
Declaration
Swift
case notSpeeding = -1
Objective-C
GMSNavigationSpeedAlertSeverityNotSpeeding = -1
-
Declaration
Objective-C
GMSNavigationSpeedAlertSeverityMinor = 0
-
Declaration
Objective-C
GMSNavigationSpeedAlertSeverityMajor
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSNavigationSpeedAlertSeverity\u003c/code\u003e is an enum defining different levels of speed alerts during navigation.\u003c/p\u003e\n"],["\u003cp\u003eIt includes four severity levels: \u003ccode\u003eUnknown\u003c/code\u003e, \u003ccode\u003eNotSpeeding\u003c/code\u003e, \u003ccode\u003eMinor\u003c/code\u003e, and \u003ccode\u003eMajor\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnknown\u003c/code\u003e indicates that either the current speed or the speed limit is undetermined.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNotSpeeding\u003c/code\u003e signifies that the current speed is within the allowed limit.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMinor\u003c/code\u003e and \u003ccode\u003eMajor\u003c/code\u003e represent increasing levels of speeding severity, alerting the user to potential risks.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSNavigationSpeedAlertSeverity\n===============================\n\n NS_ENUM(NSInteger, GMSNavigationSpeedAlertSeverity) {\n /** Either speed or speed limit could not be determined. */\n GMSNavigationSpeedAlertSeverityUnknown = -2,\n\n /** No speeding is occurring. */\n GMSNavigationSpeedAlertSeverityNotSpeeding = -1,\n\n /** Minor speed alert. */\n GMSNavigationSpeedAlertSeverityMinor = 0,\n\n /** Major speed alert. */\n GMSNavigationSpeedAlertSeverityMajor,\n }\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationSpeedAlertSeverityUnknown](#/c:@E@GMSNavigationSpeedAlertSeverity@GMSNavigationSpeedAlertSeverityUnknown)\n\n `\n ` \n Either speed or speed limit could not be determined. \n\n #### Declaration\n\n Swift \n\n case unknown = -2\n\n Objective-C \n\n GMSNavigationSpeedAlertSeverityUnknown = -2\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationSpeedAlertSeverityNotSpeeding](#/c:@E@GMSNavigationSpeedAlertSeverity@GMSNavigationSpeedAlertSeverityNotSpeeding)\n\n `\n ` \n No speeding is occurring. \n\n #### Declaration\n\n Swift \n\n case notSpeeding = -1\n\n Objective-C \n\n GMSNavigationSpeedAlertSeverityNotSpeeding = -1\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationSpeedAlertSeverityMinor](#/c:@E@GMSNavigationSpeedAlertSeverity@GMSNavigationSpeedAlertSeverityMinor)\n\n `\n ` \n Minor speed alert. \n\n #### Declaration\n\n Swift \n\n case minor = 0\n\n Objective-C \n\n GMSNavigationSpeedAlertSeverityMinor = 0\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationSpeedAlertSeverityMajor](#/c:@E@GMSNavigationSpeedAlertSeverity@GMSNavigationSpeedAlertSeverityMajor)\n\n `\n ` \n Major speed alert. \n\n #### Declaration\n\n Swift \n\n case major = 1\n\n Objective-C \n\n GMSNavigationSpeedAlertSeverityMajor"]]