PropertyDownloadListener

public protocol PropertyDownloadListener : AnyObject

Listener to Property / Building download process

  • Implement this method to handle succesful download of property data downloaded.

    Declaration

    Swift

    func onSuccess(propertyId: Int)

    Parameters

    propertyId

    identifier of Property being downloaded

  • Implement this method to handle success when building data is being downloaded.

    Declaration

    Swift

    func onSuccess(propertyId: Int, buildingId: Int)

    Parameters

    propertyId

    identifier of Property being downloaded

    buildingId

    identifier of Building being downloaded

  • Implement this method to handle failure when property data is being download

    Declaration

    Swift

    func onFailureWithProperty(propertyId: Int)

    Parameters

    propertyId

    identifier of Property being downloaded

  • Implement this method to handle failure when building data is being downloaded.

    Declaration

    Swift

    func onFailureWithBuilding(propertyId: Int, buildingId: Int)

    Parameters

    propertyId

    identifier of Property being downloaded

    buildingId

    identifier of Building being downloaded

  • Implement this method to get progress of a property download

    Declaration

    Swift

    func onProgress(propertyId: Int, percentage: Float)

    Parameters

    propertyId

    identifier of Property being downloaded

    perentage

    what percent of the download is complete