CLASS

# RoomleARView

Contents

  • Methods
    • init()
    • init(frame:)
    • init(coder:)
    • attachTo(view:)
    • showProduct(_:)

View that displays the Roomle AR Scene

# Methods

# init()

# init(frame:)

# init(coder:)

# attachTo(view:)

Adds the RoomleARView as a subview to the provided view.

The AR view will be added on top of already existing subviews.

  • Parameter parentView: The view to which the AR view will be attached to as subview.

# showProduct(_:)

Shows a Roomle Product in AR

The product will be downloaded from the Cloud and added to the AR scene after the tracking is established.

The productId string can either be a Configuration ID or a Catalog Item ID.

Examples:

Configuration ID:

koinor:FORMIA_LeftGroup:79FBF0D6C79A2598B5FF943111EA29DC0C6884AA97F4383582B47F69C14DDB2C

Catalog Item ID:

usm:frame
  • Parameter productId: The productId of the product to show.