UAr class abstract

Device-level AR questions and one-shot native experiences.

Constructors

UAr()

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

availability() → Future<UArAvailability>
capabilities() → Future<UArCapabilities>
captureObject({UArObjectCaptureOptions options = const UArObjectCaptureOptions()}) → Future<UArObjectCaptureResult?>
Walks the user around a real object and reconstructs it as a USDZ model on the device (iOS 17+ Object Capture, LiDAR devices).
openNativeViewer(UArNativeViewerOptions options) → Future<bool>
Hands the model to the system viewer: Scene Viewer on Android, AR Quick Look on iOS, and either of them from a mobile browser.
openSettings() → Future<bool>
permissionStatus() → Future<UArPermissionState>
requestInstall() → Future<UArAvailability>
Prompts for "Google Play Services for AR" on Android; no-op elsewhere.
requestPermission({bool location = false, bool microphone = false}) → Future<UArPermissionState>
scanRoom({UArRoomScanOptions options = const UArRoomScanOptions()}) → Future<UArRoomScanResult?>
Scans a room with LiDAR (iOS 16+ RoomPlan) and returns its layout.