TTBatchRouteResponseDelegate
@protocol TTBatchRouteResponseDelegate <NSObject>
Protocol for TTBatchRoute - TTBatchRouteResponseDelegate
-
Declaration
Objective-C
- (void)batch:(TTBatchRoute *_Nonnull)route completedWithResponse:(TTBatchRouteResponse *_Nonnull)response;
Swift
func batch(_ route: TTBatchRoute, completedWith response: TTBatchRouteResponse)
Parameters
route
- object TTBatchRoute
response
completed With TTBatchRouteResult
-
Declaration
Objective-C
- (void)batch:(TTBatchRoute *_Nonnull)route failedWithError:(id)responseError;
Swift
func batch(_ route: TTBatchRoute, failedWithError responseError: Any!)
Parameters
route
- object TTBatchRoute
responseError
- completed With Response TTResponseError