Enums

The following enums are available globally.

  • A specific Campus Navigator resource, e.g. a room, a building’s lecture halls, etc. This primarily maps to anything the webapp can display in a specific view.

    See more

    Declaration

    Swift

    public enum Resource: Decodable
  • Either true, false or nodata. Got a better name for this? Please refactor :)

    See more

    Declaration

    Swift

    public enum Trillian: Decodable
  • Any possible error occurring during the execution of CNKit.

    See more

    Declaration

    Swift

    public enum Error: Swift.Error
  • Helper type for accessing a list of all building complexes.

    See more

    Declaration

    Swift

    public enum Campus
  • Generate valid URLs for both supported tileservers.

    See more

    Declaration

    Swift

    public enum Tiles
  • A type of room.

    See more

    Declaration

    Swift

    public enum RoomType: Int, Decodable