ArDevice
public final class ArDevice implements Trackable
Contains the information of the device that locates it with respect to the real world.
Summary
Nested types |
|---|
public final class ArDevice.State implements Trackable.StateContains the current state of the AR Device tracking. |
Public methods |
|
|---|---|
boolean |
|
static final @NonNull ArDevice |
getInstance(@NonNull Session session)Returns the AR device tracking data. |
@NonNull StateFlow<@NonNull ArDevice.State> |
getState()the current |
int |
hashCode() |
Public methods
getInstance
Added in 1.0.0-beta01
public static final @NonNull ArDevice getInstance(@NonNull Session session)
Returns the AR device tracking data.
| Throws | |
|---|---|
IllegalStateException |
if |