Floor
public struct Floor: Decodable
                A floor inside a building.
- 
                  
                  
Floor level string value, e.g.
-1
,–
,00
, etc. Use.levelinstead for a more sensible interpretation.Declaration
Swift
public let rawLevel: String - 
                  
                  
Maximum X coordinate.
Declaration
Swift
public let maxX: Double - 
                  
                  
Maximum Y coordinate.
Declaration
Swift
public let maxY: Double - 
                  
                  
All rooms on this floor.
Declaration
Swift
public let rooms: [Room] - 
                  
                  
Floor level
Declaration
Swift
public var level: Int? - 
                  
                  
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoder 
- 
                  
                  
Fetch the floorplan layout for a given building.
Declaration
Swift
public static func fetch(forBuilding buildingID: String, session: URLSession = .shared, completion: @escaping (Result<[Floor]>) -> Void)Parameters
buildingIDbuilding abbreviation, e.g.
APBsessionsession to use, defaults to
.sharedcompletionhandler
 
      Floor Struct Reference