class CoreState


Represents the state of the XR system at a specific point in time.

Instances of this class can be accessed via the Session.state property. This class may include extension properties provided by implementations of the StateExtender interface found during Session creation.

Summary

Public constructors

Public functions

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

Public properties

ComparableTimeMark

at which the state was computed.

Extension properties

CameraState?

Provides the latest CameraState, which contains the latest information about the device camera, such as pose, projection, and timestamp for the current frame.

Public constructors

CoreState

Added in 1.0.0-alpha14
CoreState(timeMark: ComparableTimeMark)

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

timeMark

Added in 1.0.0-alpha14
val timeMarkComparableTimeMark

at which the state was computed.

Extension properties

CoreState.cameraState

@ExperimentalCameraApi
val CoreState.cameraStateCameraState?

Provides the latest CameraState, which contains the latest information about the device camera, such as pose, projection, and timestamp for the current frame.