SpatialMLInstance

@RequiresApi(value = 27)
interface SpatialMLInstance

The interface of SpatialML instance. An SpatialMLInstance must be created before any SpatialML APIs or commands are executed.

Types

Link copied to clipboard
object Companion

The companion of SpatialMLInstance.

Properties

Link copied to clipboard
abstract val appContext: Context

The Android app context. The instance will be associated with the given context.

Link copied to clipboard
abstract val ready: Boolean

Whether the instance is ready. Call createSession before ready is true will get null.

Functions

Link copied to clipboard

Create a SpatialMLSession from this instance.