public final class HitData


Data associated with a hit result.

Summary

Public constructors

HitData(@NonNull Pose pose, long id)

Public methods

final long

The id of the trackable that was hit.

final @NonNull Pose

The pose of the hit result.

Public constructors

HitData

Added in 1.0.0-alpha01
public HitData(@NonNull Pose pose, long id)

Public methods

getId

Added in 1.0.0-alpha01
public final long getId()

The id of the trackable that was hit. It is the address of the native object.

getPose

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

The pose of the hit result.