FlightBookingDeleteDelegate
public protocol FlightBookingDeleteDelegate : AnyObject
Notified of FlightBooking
deletion results.
-
Called when
FlightBooking
was deleted successfully.Declaration
Swift
func flightBookingDeletionDidSucceed(_ result: FlightBooking)
Parameters
result
deleted
FlightBooking
-
Called when
FlightBooking
deletion has failed.Declaration
Swift
func flightBookingDeletionDidFail(_ error: Error)
Parameters
error
An
Error
explaining the result.