Config.DeviceTrackingMode


public final class Config.DeviceTrackingMode


Feature that allows tracking of the AR device.

This feature does not require any additional application permissions.

Summary

Public fields

static final @NonNull Config.DeviceTrackingMode

The device pose will not be tracked.

static final @NonNull Config.DeviceTrackingMode

The device pose will be tracked and the last known pose from the system at the time of runtime update will be provided.

Public methods

@NonNull String

Public fields

DISABLED

public static final @NonNull Config.DeviceTrackingMode DISABLED

The device pose will not be tracked. In this mode, androidx.xr.arcore.RenderViewpoint will not emit updates to androidx.xr.arcore.RenderViewpoint.State.pose.

LAST_KNOWN

public static final @NonNull Config.DeviceTrackingMode LAST_KNOWN

The device pose will be tracked and the last known pose from the system at the time of runtime update will be provided. Note that there is generally a delay between the actual device pose and the pose provided by the system by the time of the update.

Public methods

toString

public @NonNull String toString()