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

FetchOptions

FetchOptions

data class FetchOptions(var uuids: Array<UUID> = arrayOf(), var componentTypes: Array<Anchor.SpaceComponentType> = arrayOf())
Options for fetching anchors from the MR subsystem.
Used with the scene.discoverSpaces method to specify which anchors to retrieve based on their UUIDs and/or component types.

Constructors

NameSummary
FetchOptions
constructor(uuids: Array<UUID> = arrayOf(), componentTypes: Array<Anchor.SpaceComponentType> = arrayOf())

Properties

NameSummary
componentTypes
var componentTypes: Array<Anchor.SpaceComponentType>

Array of component types to filter anchors by capability
uuids
var uuids: Array<UUID>

Array of UUIDs to fetch specific anchors
Did you find this page helpful?
Thumbs up icon
Thumbs down icon