BorderCrossing

public struct BorderCrossing

Indicates a border crossing between two countries.

Important

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

Lifecycle

  • Declaration

    Swift

    public init(
        fromCountry: CountryInfo,
        toCountry: CountryInfo
    )

    Parameters

    fromCountry

    Information about the country the vehicle is leaving.

    toCountry

    Information about the country the vehicle is entering.

Public

  • Information about the country the vehicle is leaving.

    Declaration

    Swift

    public let fromCountry: CountryInfo
  • Information about the country the vehicle is entering.

    Declaration

    Swift

    public let toCountry: CountryInfo