EILLocationBuilder

EILLocationBuilder is a builder object for creating various EILLocation objects. You can programmatically create a new location by specifying the shape, orientation, and details of the location (walls, doors, and so on). Some important methods for this class are:

  • setLocationBoundaryPoints: Specify the boundary points of the location
  • setLocationOrientation: Set the orientation of the room with respect to magnetic north
  • addBeaconWithIdentifier:withPosition: Place a beacon in a location
  • addDoorsWithLength: Place a door on a boundary segment
  • addWindowWithLength: Place a window on a boundary segment

Get Building Bluetooth Low Energy Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.