<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPLane",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPLane"
  },
  "title" : "CPLane"
}
-->

# CPLane

A class that describes characteristics of a lane on a roadway.

```
class CPLane
```

## Topics

### Properties

[`var primaryAngle: Measurement<UnitAngle>`](/documentation/CarPlay/CPLane/primaryAngle)

A value that represents the angle the framework highlights if this lane is preferred or good.

[`var secondaryAngles: [Measurement<UnitAngle>]`](/documentation/CarPlay/CPLane/secondaryAngles)

A list of the remaining angles of this lane guidance.

[`var status: CPLaneStatus`](/documentation/CarPlay/CPLane/status)

A value that describes the lane’s status.

### Lane status

[`enum CPLaneStatus`](/documentation/CarPlay/CPLaneStatus)

Values that describe the status or preferability of a lane.

### Initializers

[`init()`](/documentation/CarPlay/CPLane/init())

[`init(angles: [Measurement<UnitAngle>])`](/documentation/CarPlay/CPLane/init(angles:))

[`init(angles: [Measurement<UnitAngle>], highlightedAngle: Measurement<UnitAngle>, isPreferred: Bool)`](/documentation/CarPlay/CPLane/init(angles:highlightedAngle:isPreferred:))

[`init?(coder: NSCoder)`](/documentation/CarPlay/CPLane/init(coder:))

### Instance Properties

[`var angles: [Measurement<UnitAngle>]`](/documentation/CarPlay/CPLane/angles)

[`var highlightedAngle: Measurement<UnitAngle>?`](/documentation/CarPlay/CPLane/highlightedAngle)

## Relationships

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)