AvailabilitiesFetchDelegate

public protocol AvailabilitiesFetchDelegate : AnyObject

Notified of availabilities fetch results

  • Called when there was an error fetching the availaibilies

    • error: The Error representing 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)
  • Called when the availabilities were successfully fetched

    • availabilities: Fetched Array<Availability>

    Declaration

    Swift

    func availabilitiesFetchDidSucceedWith(_ availabilities: [Availability])