AvailabilitiesFetchDelegate
public protocol AvailabilitiesFetchDelegate : AnyObject
Notified of availabilities fetch results
-
Called when there was an error fetching the availaibilies
- error: The
Errorrepresenting the reason for failure. No specific errors to look for here. Best course of action is to just display a generic error message.
Declaration
Swift
func availabilitiesFetchDidFailWith(_ error: Error) - error: The
-
Called when the availabilities were successfully fetched
- availabilities: Fetched
Array<Availability>
Declaration
Swift
func availabilitiesFetchDidSucceedWith(_ availabilities: [Availability]) - availabilities: Fetched
AvailabilitiesFetchDelegate Protocol Reference