BuildingComplex
public struct BuildingComplex: Codable, CustomStringConvertible
                A building complex, possibly made up of more than one building.
- 
                  
                  
The building’s abbreviation or ID, e.g.
APB
.Declaration
Swift
public let abbreviation: String - 
                  
                  
The building’s name, e.g.
Andreas-Pfitzmann-Bau
Declaration
Swift
public let name: String - 
                  
                  
The building’s raw default level, usually the ground floor, e.g.
00
. Use.defaultLevelinstead for a more sensible interpretation.Declaration
Swift
public let rawDefaultFloor: String? - 
                  
                  
The building’s default level, usually the ground floor, e.g. 0.
Declaration
Swift
public var defaultFloor: Int? - 
                  
                  
Basic accessibility information.
Declaration
Swift
public let accessibilityOverview: [String: String]? - 
                  
                  
A list of entrances.
Declaration
Swift
public let entrances: [Entrance] - 
                  
                  
A list of images.
Declaration
Swift
public let images: [String]? - 
                  
                  
A list of actual building structures, should obviously be at least one.
Declaration
Swift
public let structures: [BuildingStructure] - 
                  
                  
The list of images as URLs.
Declaration
Swift
public var imageURLs: [URL] - 
                  
                  
A list of coordinates that make up the building structure’s outlines.
Declaration
Swift
public var points: [[CLLocationCoordinate2D]] - 
                  
                  
A rectangle encompassing the entire building complex.
Declaration
Swift
public var rect: MKMapRect - 
                  
                  
A region showing an entire building complex with some space on the outside.
Declaration
Swift
public var region: MKCoordinateRegion - 
                  
                  
The geographical center of the entire building complex, great for rendering a name.
Declaration
Swift
public var center: CLLocationCoordinate2D - 
                  
                  
Check if this BuildingComplex contains a given room.
Declaration
Swift
public func contains(roomWithID roomID: RoomID) -> BoolParameters
roomIDroom identifier
 - 
                  
                  
A building’s abbreviation and name.
Declaration
Swift
public var description: String 
- 
                  
                  
Undocumented
Declaration
Swift
public struct BuildingComplex: Codable, CustomStringConvertible 
- 
                  
                  
A single structure being a part of a building complex.
See moreDeclaration
Swift
public struct BuildingStructure: Codable, CustomStringConvertible 
- 
                  
                  
An entrance to a building complex.
See moreDeclaration
Swift
public struct Entrance: Codable, CustomStringConvertible 
- 
                  
                  
Fetch all building complexes
Declaration
Swift
public static func fetch(session: URLSession = .shared, rawDataHandler: ((Data) -> Void)? = nil, completion: @escaping (Result<[BuildingComplex]>) -> Void)Parameters
sessionsession to use, defaults to
.sharedrawDataHandlerreceives the raw data before being parsed
completionhandler
 
- 
                  
                  
Specific accessibility information used for showing accessibility badges.
See moreDeclaration
Swift
public struct AccessibilityInfo: Decodable 
- 
                  
                  
Fetch accessibility information for this building.
Throws
possible error on constructing the requestDeclaration
Swift
public func fetchAccessibilityInfo(session: URLSession = .shared, completion: @escaping (Result<BuildingComplex.AccessibilityInfo>) -> Void)Parameters
sessionsession to use, defaults to
.sharedcompletionhandler
 
      BuildingComplex Struct Reference