VMapParserDelegate
public protocol VMapParserDelegate : AnyObject
The Interface an VMap Parser uses to inform its delegate about the output.
-
API to provide download complete confirmation.
The confirmation of server request success or failure
Declaration
Swift
func parser( downloadCompleted completed: Bool, with error: FLError? )Parameters
errorError from server or data not available
-
API to receive output as
VMapResponsemodelOnce XML Parsing is done,
VMapParserproviding aVMapResponseinstance.Declaration
Swift
func parser( _ parser: VMapParser, didReceive output: VMapResponse ) -
API to provide a
FLErrorParsing XML Data in our VMapParser if it failed it will throw an error
Declaration
Swift
func parser( _ parser: VMapParser, didFail error: FLError )