Anchor.State


public final class Anchor.State


The representation of the current state of an Anchor.

Summary

Public constructors

State(@NonNull TrackingState trackingState, @NonNull Pose pose)

Public methods

boolean
equals(Object other)
final @NonNull Pose

the location of the anchor in the world coordinate space.

final @NonNull TrackingState

the current TrackingState of the anchor.

int

Public constructors

State

Added in 1.0.0-alpha01
public State(@NonNull TrackingState trackingState, @NonNull Pose pose)

Public methods

equals

public boolean equals(Object other)

getPose

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

the location of the anchor in the world coordinate space.

getTrackingState

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

the current TrackingState of the anchor.

hashCode

public int hashCode()