ArDevice.State


public final class ArDevice.State implements Trackable.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.

@NonNull TrackingState

The current androidx.xr.arcore.TrackingState

int

Public methods

equals

public boolean equals(Object other)

getDevicePose

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

the current Pose of the device

getOwner

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

self-reference to the object that owns this state.

getTrackingState

public @NonNull TrackingState getTrackingState()

The current androidx.xr.arcore.TrackingState

hashCode

public int hashCode()