FlightBookingDeleteDelegate
public protocol FlightBookingDeleteDelegate : AnyObject
Notified of FlightBooking deletion results.
-
Called when
FlightBookingwas deleted successfully.Declaration
Swift
func flightBookingDeletionDidSucceed(_ result: FlightBooking)Parameters
resultdeleted
FlightBooking -
Called when
FlightBookingdeletion has failed.Declaration
Swift
func flightBookingDeletionDidFail(_ error: Error)Parameters
errorAn
Errorexplaining the result.
FlightBookingDeleteDelegate Protocol Reference