GoogleNavigation Framework Reference
GMSNavigationLaneDirection
@interface GMSNavigationLaneDirection : NSObject
Information about a single lane direction during navigation.
-
-
Whether this lane direction is recommended or not.
Declaration
Swift
var recommended: Bool { get }
Objective-C
@property (nonatomic, readonly) _Bool recommended;
-
Declaration
Objective-C
- (null_unspecified instancetype)init NS_UNAVAILABLE;
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 2024-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["`GMSNavigationLaneDirection` provides information about the direction of a single lane during navigation."],["It indicates the shape of the lane using `laneShape` and whether it's recommended using `recommended`."],["`GMSNavigationLaneDirection` objects cannot be directly initialized using `init`."]]],["GMSNavigationLaneDirection provides information about a single lane during navigation. It reveals the `laneShape`, defined by a `GMSNavigationLaneShape` enum, and indicates whether the lane is `recommended` via a boolean. Instances of this class cannot be directly initialized, as the `-init` method is unavailable. The `laneShape` and `recommended` properties are read-only and available in both Swift and Objective-C.\n"]]