HERE iOS SDK Developer's Guide

NMA Toll Cost Extensions

Group Summary

group NMA Toll Cost Extensions

 

[For complete information, see the section Group Details]

Nested Classes

Public Typedef Summary

Table 2. Public Typedefs
Public Typedefs

(void) (^NMATollCostRequestCompletionBlock) (NMATollCostRequest *_Nonnull request, NMATollCostResult *_Nonnull result, NSError *_Nullable error)

A completion block used to handle the result of a toll cost request.

Public Enumeration Summary

Table 3. Public Enumerations
Public Enumerations

NMATollCostEmissionType

NMATollCostHybridType

NMATollCostRequestError

Defines the possible errors when performing a TCE request.

NMATollCostShippedHazardousGoods

NMATollCostTrailerType

NMATollCostTrailersCount

NMATollCostVehicleType

Public Variable Summary

Table 4. Public Variables
Public Variables

FOUNDATION_EXPORT NSString *const _Nonnull  kNMATollCostRequestErrorDomain

The error domain for NMATollCostRequest errors

Group Details

 

Public Typedef Details

(void) (^NMATollCostRequestCompletionBlock) (NMATollCostRequest *_Nonnull request, NMATollCostResult *_Nonnull result, NSError *_Nullable error)

Include: NMAKit.framework/headers/NMATollCostRequest.h

A completion block used to handle the result of a toll cost request.

Parameters:

  • request

    The request object which started the toll cost query.

  • result

    The result returned.

  • error

    If an error occurs, the NSError object contains data on it and otherwise it is nil.

Public Enumeration Details

NMATollCostEmissionType

Include: NMAKit.framework/headers/NMATollCostVehicleProfile.h

Enumeration Members:

  • NMATollCostEmissionTypeNone

    Indicates the emission type is the not set.

  • NMATollCostEmissionTypeEuroI

    Indicates the emission type is EURO I.

  • NMATollCostEmissionTypeEuroII

    Indicates the emission type is EURO II.

  • NMATollCostEmissionTypeEuroIII

    Indicates the emission type is EURO III.

  • NMATollCostEmissionTypeEuroIV

    Indicates the emission type is EURO IV.

  • NMATollCostEmissionTypeEuroV

    Indicates the emission type is EURO V.

  • NMATollCostEmissionTypeEuroVI

    Indicates the emission type is EURO VI.

  • NMATollCostEmissionTypeEuroEEV

    Indicates the emission type is EURO EEV.

  • NMATollCostEmissionTypeElectricVehicles

    Indicates the emission type is electric vehicles.

NMATollCostHybridType

Include: NMAKit.framework/headers/NMATollCostVehicleProfile.h

Enumeration Members:

  • NMATollCostHybridTypeNone

    Indicates the vehicle is not hybrid.

  • NMATollCostHybridTypePartlyRunningOnElectricity

    Indicates the vehicle is partly running on electricity.

NMATollCostRequestError

Include: NMAKit.framework/headers/NMATollCostRequest.h

Defines the possible errors when performing a TCE request.

Enumeration Members:

  • NMATollCostRequestErrorNoPermission

    Access to the TCE API is denied. Contact your HERE representative for more information.

  • NMATollCostRequestErrorAlreadyRunning

    There is an ongoing TCE request.

  • NMATollCostRequestErrorCancelled

    The TCE request is cancelled.

  • NMATollCostRequestErrorInvalidParameters

    Parameters passed to the TCE API are not valid.

  • NMATollCostRequestErrorConnectionError

    Connection problem occurred.

  • NMATollCostRequestErrorServerError

    Server reported error.

  • NMATollCostRequestErrorUnknownError

    Unknown error.

NMATollCostShippedHazardousGoods

Include: NMAKit.framework/headers/NMATollCostVehicleProfile.h

Enumeration Members:

  • NMATollCostShippedHazardousGoodsNone

    Indicates there is no shipped hazardous goods.

  • NMATollCostShippedHazardousGoodsExplosives

    Indicates the shipped hazardous goods are explosives.

  • NMATollCostShippedHazardousGoodsAnyHazardousMaterial

    Indicates the shipped hazardous goods are any hazardous material.

NMATollCostTrailerType

Include: NMAKit.framework/headers/NMATollCostVehicleProfile.h

Enumeration Members:

  • NMATollCostTrailerTypeNone

    Indicates there is no trailer.

  • NMATollCostTrailerTypeCaravan

    Indicates the trailer type is caravan.

  • NMATollCostTrailerTypeTrailer

    Indicates the trailer type is trailer.

NMATollCostTrailersCount

Include: NMAKit.framework/headers/NMATollCostVehicleProfile.h

Enumeration Members:

  • NMATollCostTrailersCountVehicleWithoutTrailer

    Indicates a vehicle without trailer.

  • NMATollCostTrailersCountVehicleWithOneTrailer

    Indicates a vehicle with one trailer.

  • NMATollCostTrailersCountVehicleWithTwoTrailers

    Indicates a vehicle with two trailers.

  • NMATollCostTrailersCountVehicleWithThreeOrMoreTrailers

    Indicates a vehicle with three or more trailers.

NMATollCostVehicleType

Include: NMAKit.framework/headers/NMATollCostVehicleProfile.h

Enumeration Members:

  • NMATollCostVehicleTypeMotorcycle

    Indicates the vehicle type is motorcycle.

  • NMATollCostVehicleTypeAuto

    Indicates the vehicle type is auto.

  • NMATollCostVehicleTypeTruck

    Indicates the vehicle type is truck.

  • NMATollCostVehicleTypeMotorHome

    Indicates the vehicle type is motor home.

  • NMATollCostVehicleTypeMinibus

    Indicates the vehicle type is minibus.

  • NMATollCostVehicleTypeBus

    Indicates the vehicle type is bus. The scope is all the World.

  • NMATollCostVehicleTypeMotorcycleSidecar

    Indicates the vehicle type is motorcycle sidecar.

  • NMATollCostVehicleTypeTricyle

    Indicates the vehicle type is tricyle.

  • NMATollCostVehicleTypeDeliveryTruck

    Indicates the vehicle type is delivery truck.

  • NMATollCostVehicleTypeSnowmobile

    Indicates the vehicle type is snowmobile.

  • NMATollCostVehicleTypePickUp

    Indicates the vehicle type is pick-up.

  • NMATollCostVehicleTypeTractor

    Indicates the vehicle type is tractor.

  • NMATollCostVehicleTypeTaxi

    Indicates the vehicle type is taxi.

  • NMATollCostVehicleTypeHcmEme

    Indicates the vehicle type is HCM/EME.

Public Variable Details

FOUNDATION_EXPORT NSString *const _Nonnull kNMATollCostRequestErrorDomain

Include: NMAKit.framework/headers/NMATollCostRequest.h

The error domain for NMATollCostRequest errors.