public final class ArDevice


Contains the information of the device that locates it with respect to the real world.

Summary

Nested types

public final class ArDevice.State

Contains the current state of the AR Device tracking.

Public methods

boolean
equals(Object other)
static final @NonNull ArDevice

Returns the AR device tracking data.

final @NonNull StateFlow<@NonNull ArDevice.State>

The current State of the AR Device tracking.

int

Extension functions

final @NonNull Flowable<@NonNull ArDevice.State>

The current State of the AR Device tracking.

Public methods

equals

public boolean equals(Object other)

getInstance

Added in 1.0.0-alpha06
public static final @NonNull ArDevice getInstance(@NonNull Session session)

Returns the AR device tracking data.

Parameters
@NonNull Session session

the currently active Session.

getState

Added in 1.0.0-alpha06
public final @NonNull StateFlow<@NonNull ArDevice.StategetState()

The current State of the AR Device tracking.

hashCode

public int hashCode()

Extension functions

RxJava3ArDeviceKt.getStateAsFlowable

public final @NonNull Flowable<@NonNull ArDevice.StateRxJava3ArDeviceKt.getStateAsFlowable(@NonNull ArDevice receiver)

The current State of the AR Device tracking.