DVPlatformXRPermissions class final

Camera permission through DV.Platform.permissions.

A permissions binding that is not registered answers "not granted": the session then presents without passthrough and says so (DV-XR-001), rather than throwing out of open(), which never fails.

Implemented types

Constructors

DVPlatformXRPermissions()
const

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
request(String permission) → Future<bool>
Asks for permission; true when granted.
override
toString() → String
A string representation of this object.
inherited

Operators

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