Lane

public struct Lane

The Lane class provides information about the lane on the road.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Initializer

    Declaration

    Swift

    public init(directions: [Direction], follow: Direction?)

    Parameters

    directions

    List of lane directions.

    follow

    The lane direction the driver should follow.

Public

  • List of lane directions.

    Declaration

    Swift

    public let directions: [Direction]
  • The lane direction the driver should follow.

    Declaration

    Swift

    public let follow: Direction?