AI-generated Key Takeaways
-
GMSNavigationDrivingSide
is 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
none
being 0,left
being 1, andright
being 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 = 0
Objective-C
GMSNavigationDrivingSideNone = 0
-
Drive-on-left side.
Declaration
Swift
case left = 1
Objective-C
GMSNavigationDrivingSideLeft = 1
-
Drive-on-right side.
Declaration
Swift
case right = 2
Objective-C
GMSNavigationDrivingSideRight = 2