RoomInfo
public struct RoomInfo: Decodable
Additional information to be accessed for a room.
-
The room’s name
Declaration
Swift
public let name: String -
The room’s type
Declaration
Swift
public let type: RoomType -
Is routing available for this room?
Declaration
Swift
public let isRoutable: Bool -
Data for the room’s accessibility badge.
Declaration
Swift
public let accessibilityBadge: AccessibilityBadge? -
Data for the room’s digital doorplate.
Declaration
Swift
public let doorplate: Doorplate?
-
Detailed accessibility information.
See moreDeclaration
Swift
public struct AccessibilityBadge: Decodable
-
Digital doorplate information.
See moreDeclaration
Swift
public struct Doorplate: Decodable
-
Fetch additional room information for a given room.
Declaration
Swift
public static func fetch(forRoom roomID: String, session: URLSession = .shared, completion: @escaping (Result<RoomInfo>) -> Void)Parameters
roomIDa room’s ID, e.g.
136101.0400sessionsession to use, defaults to
.sharedcompletionhandler
-
Additional accessiblity information.
See moreDeclaration
Swift
public struct AccessibilityInfo: Decodable
RoomInfo Struct Reference