PerceptionState


public final class PerceptionState


Represents the state of ARCore for Jetpack XR at an specific point in time.

Can be obtained from CoreState.perceptionState.

Summary

Public methods

boolean
equals(Object other)
final @NonNull ComparableTimeMark

the time at which the state was computed.

final @NonNull Collection<@NonNull Trackable<@NonNull Trackable.State>>

the trackables that are currently being tracked.

int

Public methods

equals

public boolean equals(Object other)

getTimeMark

Added in 1.0.0-alpha01
public final @NonNull ComparableTimeMark getTimeMark()

the time at which the state was computed.

getTrackables

Added in 1.0.0-alpha01
public final @NonNull Collection<@NonNull Trackable<@NonNull Trackable.State>> getTrackables()

the trackables that are currently being tracked.

hashCode

public int hashCode()