ArDevice


class ArDevice : Trackable


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

Summary

Nested types

Contains the current state of the AR Device tracking.

Public companion functions

ArDevice
getInstance(session: Session)

Returns the AR device tracking data.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Returns a string representation of ArDevice for debugging.

Public properties

open StateFlow<ArDevice.State>

the current State of the AR device tracking

Public companion functions

getInstance

Added in 1.0.0-beta02
fun getInstance(session: Session): ArDevice

Returns the AR device tracking data.

Parameters
session: Session

the currently active Session

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Returns a string representation of ArDevice for debugging.

Note: Not intended for production use.

Public properties

state

open val stateStateFlow<ArDevice.State>

the current State of the AR device tracking