TTEVChargingStationsAvailabilityDelegate
Objective-C
@protocol TTEVChargingStationsAvailabilityDelegate <NSObject>
Swift
protocol TTEVChargingStationsAvailabilityDelegate : NSObjectProtocol
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
-
Method that handles the search response when a search returns a response. Within this callback the user will obtain a response populated with results.
Declaration
Objective-C
- (void)request:(TTEVChargingStationsAvailability *_Nonnull)request completedWithResponse: (TTEVChargingStationsAvailabilityResponse *_Nonnull)result;
Swift
optional func request(_ request: TTEVChargingStationsAvailability, completedWith result: TTEVChargingStationsAvailabilityResponse)
Parameters
request
Object type TTEVChargingStationsAvailability.
result
Object type TTEVChargingStationsAvailabilityResponse.
-
Declaration
Objective-C
- (void)request:(TTEVChargingStationsAvailability *_Nonnull)request failedWithError:(TTResponseError *_Nonnull)error;
Swift
optional func request(_ request: TTEVChargingStationsAvailability, failedWithError error: Any!)
Parameters
request
Object type TTEVChargingStationsAvailability.
error
Object type TTResponseError.