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

EntityContext

EntityContext

object EntityContext
This class is a singleton that provides access to the SpatialSDK specific objects such as the DataModel, SystemManager, and ComponentManager.

Properties

NameSummary
getBaseHref
var getBaseHref: () -> <Error class: unknown class>

Used to get the base href for your SpatialSDK instance. This is used to access files that are stored on device for your Spatial SDK app. Do not change this variable, only invoke it to get the base href.
getComponentManager
var getComponentManager: () -> ComponentManager?

Used to get the ComponentManager object for your SpatialSDK instance. Do not change this variable, only invoke it to get the ComponentManager.
getDataModel
var getDataModel: () -> DataModel?

Used to get the DataModel object for your SpatialSDK instance. Do not change this variable, only invoke it to get the DataModel.
getSystemManager
var getSystemManager: () -> SystemManager?

Used to get the SystemManager object for your SpatialSDK instance. Do not change this variable, only invoke it to get the SystemManager.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon