Anchor.State


public final class Anchor.State implements Trackable.State


The representation of the current state of an Anchor.

Summary

Public methods

boolean
equals(Object other)
final @NonNull Pose

the location of the anchor in the world coordinate space

@NonNull TrackingState

the current androidx.xr.arcore.TrackingState of the anchor

int

Public methods

equals

public boolean equals(Object other)

getPose

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

the location of the anchor in the world coordinate space

getTrackingState

public @NonNull TrackingState getTrackingState()

the current androidx.xr.arcore.TrackingState of the anchor

hashCode

public int hashCode()