VMDParser

@objc
open class VMDParser : NSObject

Parser for processing VMD files

Since

1.4

Public Properties

Initializers

Public Methods

  • Asyncronously start parsing the VMD file with the current configuration

    Declaration

    Swift

    @objc
    open func parse()
  • Asyncronously start parsing the VMD file with the current configuration and map provider

    Since

    2.0

    Declaration

    Swift

    @objc
    open func parse(withMapProvider mapProvider: VMMapProviderType = VMMapProviderType.google)
  • :nodoc Called when parsing has compled

    Declaration

    Swift

    open func onParserDidSucceed(_ vmd: VMMSMap)

    Parameters

    vmd

    The vmd instance

  • :nodoc Called when parsing failes

    Declaration

    Swift

    open func onParserDidFail(_ error: Error)

    Parameters

    error

    The error