Parser

public class Parser
extension LGV_MeetingSDK_BMLT.Transport.Parser: LGV_MeetingSDK_Parser_Protocol

This is the parser. Most functionality will be in the extension.

  • The initiator, for creating search commands. We declare the stored property private, and specific to the class, so we can weakly reference it.

    Declaration

    Swift

    private weak var _initiator: Initiator?
  • The initiator, for creating search commands.

    Declaration

    Swift

    public var initiator: LGV_MeetingSDK_SearchInitiator_Protocol? { get set }

BMLT Parser Extension (Static Utility Methods)

  • Creates (or not) a virtual location, based on the provided meeting details.

    Declaration

    Swift

    private static func _convert(thisDataToAVirtualLocation inMeetingData: [String : String]) -> LGV_MeetingSDK_BMLT.Meeting.VirtualLocation?

    Parameters

    theseMeetings

    The Dictionary that represents this meeting.

    Return Value

    A new virtual location instance.

  • This converts “raw” (String Dictionary) meeting objects, into actual Swift structs.

    Declaration

    Swift

    private static func _convert(thisDataToAPhysicalLocation inMeetingData: [String : String]) -> LGV_MeetingSDK_BMLT.Meeting.PhysicalLocation?

    Parameters

    thisDataToAPhysicalLocation

    The Dictionary of String Dictionaries that represent the parsed JSON object for the meetings.

    Return Value

    A new physical location instance.

  • This converts “raw” (String Dictionary) meeting objects, into actual Swift structs.

    Declaration

    Swift

    private static func _convert(theseFormats inJSONParsedFormats: [[String : String]]) -> [UInt64 : LGV_MeetingSDK_Format_Protocol]

    Parameters

    theseFormats

    The Dictionary of String Dictionaries that represent the parsed JSON object for the formats.

    Return Value

    An Array of parsed and initialized format instances.

Instance Utility Methods

  • This converts “raw” (String Dictionary) meeting objects, into actual Swift structs.

    Declaration

    Swift

    private func _convert(theseMeetings inJSONParsedMeetings: [[String : String]], andTheseFormats inFormats: [UInt64 : LGV_MeetingSDK_Format_Protocol], searchCenter inSearchCenter: CLLocation) -> [LGV_MeetingSDK.Meeting]

    Parameters

    theseMeetings

    The Dictionary of String Dictionaries that represent the parsed JSON object for the meetings.

    andTheseFormats

    The Dictionary of parsed formats.

    Return Value

    An Array of parsed and initialized meeting instances.

LGV_MeetingSDK_Parser_Protocol Conformance