ArDevice.State


public final class ArDevice.State


Contains the current state of the AR Device tracking.

Summary

Public methods

boolean
equals(Object other)
final @NonNull Pose

the current Pose of the device

final @NonNull ArDevice

self-reference to the object that owns this state.

final @NonNull TrackingState

The current androidx.xr.runtime.TrackingState

int

Public methods

equals

public boolean equals(Object other)

getDevicePose

Added in 1.0.0-alpha14
public final @NonNull Pose getDevicePose()

the current Pose of the device

getOwner

Added in 1.0.0-alpha14
public final @NonNull ArDevice getOwner()

self-reference to the object that owns this state.

getTrackingState

Added in 1.0.0-alpha14
public final @NonNull TrackingState getTrackingState()

The current androidx.xr.runtime.TrackingState

hashCode

public int hashCode()