Capture a Space on a Mobile Device

Create a Lightning web component (LWC) that uses the AR SpaceCapture plugin to create a 2D or 3D model of a room. The model is created by interactively scanning the physical environment using the device’s Lidar capabilities.

This AR SpaceCapture plug-in is supported only by iOS devices that have Lidar (iPhone 12 pro+ and iPad Pro and above), and that are running on iOS 16.0+ and iPadOS 16.0+.

Note

This AR SpaceCapture plugin is for use only in the Field Service mobile app.

Note

  • Use the AR SpaceCapture API

    To develop an LWC with AR Space Capture features, use the AR SpaceCapture API as your method for accessing a device’s native AR functionality.

  • AR SpaceCapture User Experience

    Your component can deliver any user experience you desire, but you must follow a common flow for any component that calls for an AR SpaceCapture scan.

  • AR SpaceCapture Example

    The component’s HTML template is minimal and includes a button that initiates the room scan.

  • AR SpaceCapture API

    Access a device’s camera and AR capabilities from an LWC.

See Also