Array
public extension Array where Element == SwiftBMLSDK_Parser.Meeting
This extension allows us to perform additional operations on an Array of meetings.
-
This defines a 1-based Gregorian weekday specification. All meetings consider 1 to be Sunday, so the local week start should be converted (see init, below).
See moreDeclaration
Swift
enum Weekdays : Int
-
Subscript that allows us to specify a particular meeting type.
Declaration
Swift
subscript(inMeetingType: SwiftBMLSDK_Query.SearchSpecification.SearchForMeetingType) -> [SwiftBMLSDK_Parser.Meeting] { get }
Parameters
inMeetingType
The type of meeting we are looking for.
-
Subscript that allows us to filter for multiple weekdays.
Declaration
Swift
subscript(inWeekdaySet: Set<Weekdays>) -> [SwiftBMLSDK_Parser.Meeting] { get }
Parameters
inWeekdaySet
The weekdays to filter for. This is in the local meeting timezone.
-
Subscript that allows us to filter for a single weekday. This is in the local meeting timezone.
Declaration
Swift
subscript(inWeekday: Weekdays) -> [SwiftBMLSDK_Parser.Meeting] { get }
Parameters
inWeekday
The weekday to filter for. This is in the local meeting timezone.
-
Subscript that allows us to filter for meetings that start within a certain time range. This is in the local meeting timezone.
Declaration
Swift
subscript(inStartTimeRangeInSecondsFromMidnight: Range<TimeInterval>) -> [SwiftBMLSDK_Parser.Meeting] { get }
Parameters
inStartTimeRangeInSecondsFromMidnight
An open range, of start times, 0..<86400.
-
This returns the entire meeting list as a simple, 2-dimensional, JSON Data instance. The data is a simple sequence of single-dimension dictionaries.
This is different from the input JSON, as it has the organization and “cleaning” provided by the parser. It also keeps it at 2 dimensions, for easy integration into ML stuff.
Declaration
Swift
var asJSONData: Data? { get }
-
This returns all of the location coordinates in an array of meeting instances.
Declaration
Swift
var allCoords: [CLLocationCoordinate2D] { get }