Parser

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_LGV_MeetingServer.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], coords inCoords: CLLocationCoordinate2D) -> LGV_MeetingSDK_LGV_MeetingServer.Meeting.PhysicalLocation?

    Parameters

    thisDataToAPhysicalLocation

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

    coords

    The meeting coordinates.

    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 : Any]]) -> [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 : Any]], searchCenter inSearchCenter: CLLocation) -> [LGV_MeetingSDK.Meeting]

    Parameters

    theseMeetings

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

    Return Value

    An Array of parsed and initialized meeting instances.

LGV_MeetingSDK_Parser_Protocol Conformance