LGV_MeetingSDK

open class LGV_MeetingSDK
extension LGV_MeetingSDK: LGV_MeetingSDK_Protocol

This is instantiated, in order to provide meeting search capabilities for one organization. This is a class, so it can be specialized, and referenced.

Meeting Struct

Private Instance Properties

Main Initializer

Static Utility Functions

  • “Cleans” a URI.

    See more

    Declaration

    Swift

    static func cleanURI(urlString inURLString: String?) -> String?

    Parameters

    urlString

    The URL, as a String. It can be optional.

    Return Value

    an optional String. This is the given URI, “cleaned up” (“https://” or “tel:” may be prefixed)

  • This simply strips out all non-decimal characters in the string, leaving only valid decimal digits.

    Declaration

    Swift

    static func decimalOnly(_ inString: String) -> String

    Parameters

    inString

    The string to be “decimated.”

    Return Value

    A String, with all the non-decimal characters stripped.

  • This allows us to find if a string contains another string.

    Declaration

    Swift

    private static func _isThisString(_ inString: String, withinThisString inMainString: String, options inOptions: String.CompareOptions = [.caseInsensitive, .diacriticInsensitive]) -> Bool

    Parameters

    inString

    The string we’re looking for.

    withinThisString

    The string we’re looking through.

    Return Value

    True, if the string contains the other String.

  • Checks a meeting, to see if a given string is present.

    Declaration

    Swift

    private static func _isStringInHere(meeting inMeeting: LGV_MeetingSDK.Meeting, string inString: String) -> Bool

    Parameters

    meeting

    The meeing instance to check (haystack).

    string

    The string we’re looking for (needle).

    Return Value

    True, if the meeting contains the string we’re looking for.

  • Declaration

    Swift

    static func refineMeetings(_ inMeetings: [LGV_MeetingSDK.Meeting],
                               searchType inSearchType: LGV_MeetingSDK_Meeting_Data_Set.SearchConstraints,
                               searchRefinements inSearchRefinements: Set<LGV_MeetingSDK_Meeting_Data_Set.Search_Refinements>) -> [LGV_MeetingSDK.Meeting]

    Parameters

    inMeetings

    The meeting array to be filtered.

    searchType

    This is the search specification main search type.

    searchRefinements

    This is the search specification additional filters.

    Return Value

    The refined meeting array.

LGV_MeetingSDK_Protocol Conformance