AI-generated Key Takeaways
-
GMSNavigationDrivingSideis an enum used to indicate whether a route is designed for driving on the left or right side of the road. -
It includes three possible values:
none(unspecified),left(drive-on-left), andright(drive-on-right). -
Each value is represented by an integer, with
nonebeing 0,leftbeing 1, andrightbeing 2, accessible in both Swift and Objective-C.
GMSNavigationDrivingSide
enum GMSNavigationDrivingSide : NSUInteger {}Whether this step is on a drive-on-right or drive-on-left route. May be unspecified.
-
Unspecified side.
Declaration
Swift
case none = 0Objective-C
GMSNavigationDrivingSideNone = 0 -
Drive-on-left side.
Declaration
Swift
case left = 1Objective-C
GMSNavigationDrivingSideLeft = 1 -
Drive-on-right side.
Declaration
Swift
case right = 2Objective-C
GMSNavigationDrivingSideRight = 2