API reference
API reference
Select your platform
No SDKs available
No versions available

AttributePrimitive

AttributePrimitive

enum AttributePrimitive : Enum<AttributePrimitive>
Enum class representing different types of attribute implementations in the native layer.

Entries

NameSummary
DEFAULT

Default attribute type.
INT

Attribute type representing an integer value.
LONG

Attribute type representing a long value.
FLOAT

Attribute type representing a floating-point value.
STRING

Attribute type representing a string value.
UUID

Attribute type representing a universally unique identifier (UUID).
VECTOR2

Attribute type representing a 2D vector.
VECTOR3

Attribute type representing a 3D vector.
VECTOR4

Attribute type representing a 4D vector.
POSE

Attribute type representing a pose (position and orientation).
TUPLE

Attribute type representing a tuple of values.
MAP

Attribute type representing a map of key-value pairs.
ENTITY

Attribute type representing an entity.
TIME

Attribute type representing a time value.
URI

Attribute type representing a Uri.

Types

NameSummary
Companion
object Companion

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): AttributePrimitive

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<AttributePrimitive>

Returns an array containing the constants of this enum type, in the order they’re declared.

Companion

object Companion

Functions

NameSummary
fun fromIndex(index: Int): AttributePrimitive

Returns the attribute type corresponding to the given index.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon