showARScreen method

Future<void> showARScreen(
  1. String url
)

Opens the AR screen of the experience at url.

On iOS the SDK asks for the camera (required) and location (recommended) on the way; a refused camera is the SDK's own alert with a way to Settings, after which the app is back, and this future has already completed. On a device without AR support the future fails with AR_NOT_SUPPORTED.

Implementation

Future<void> showARScreen(String url) {
  return DimxPluginPlatform.instance.showARScreen(url);
}