LightID

data class LightID(val status: Int, val coordinateX: Float, val coordinateY: Float, val isDetected: Boolean, val deviceId: Long, val detectionTime: Long, val decodedTime: Long, val isReady: Boolean, val rotation: Vector3, val translation: Vector3, val position: Vector3) : Parcelable

LightID represents a LigTag device and carries information about its status.

Constructors

Link copied to clipboard
constructor(status: Int, coordinateX: Float, coordinateY: Float, isDetected: Boolean, deviceId: Long, detectionTime: Long, decodedTime: Long, isReady: Boolean, rotation: Vector3, translation: Vector3, position: Vector3)

Types

Link copied to clipboard
object Status

Properties

Link copied to clipboard

X coordinate in percentage of the screen of the LigTag device.

Link copied to clipboard

Y coordinate in percentage of the screen of the LigTag device.

Link copied to clipboard

How long does it take for the LigTag device to be decoded.

Link copied to clipboard

How long does it take for the LigTag device to be detected.

Link copied to clipboard

ID of the LigTag device.

Link copied to clipboard

Whether the LigTag device has been detected.

Link copied to clipboard

Whether the LigTag device is ready to be used.

Link copied to clipboard

Position of the LigTag device in mobile phone coordinate system.

Link copied to clipboard

Rotation of the LigTag device.

Link copied to clipboard
val status: Int

Status of the LigTag device.

Link copied to clipboard

Translation of the LigTag device.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun transform(cameraPose: Transform): Transform
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)