R2U class

Constructors

R2U()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

deviceSupportsAR() Future<bool>
Checks whether the user device supports Augmented Reality This method must be used before showing an AR call to action, such as a button, to a user
Returns the 3D URL to display the product on a webview
init({dynamic customerId = String}) Future<void>
Initializes the R2U SDK This method must be called before the use of other functions
isActive(String sku) Future<bool>
Checks whether the product SKU is active and running on the R2U platform This method must be used before showing an AR call to action, such as a button, for the specific product
openAR({dynamic sku = String, dynamic resize = false}) Future<void>
Open the Augmented Reality experience using ARKit for iOS and ARCore for Android