TripSnapshot

public struct TripSnapshot

A structure containing information about the route.

Important

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

Public

  • Active route RouteSnapshot.

    Important

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

    Declaration

    Swift

    public let activeRoute: RouteSnapshot
  • Better proposal route RouteSnapshot.

    Important

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

    Declaration

    Swift

    public let betterProposal: RouteSnapshot?
  • Indicator of whether the driver has deviated from the route.

    Important

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

    Declaration

    Swift

    public let hasDeviated: Bool
  • Indicates if the destination has been reached.

    Important

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

    Declaration

    Swift

    public let hasReachedDestination: Bool