Skip to main content

ARDK for Android/com.nianticlabs.ardk.mapping/DeviceMappingSession

DeviceMappingSession

[androidJvm]
class DeviceMappingSession : SessionBase<DeviceMappingSession>

A session for locally creating VPS maps from AR data.

The device mapping feature provides capabilities for locally building persistent maps that can be used for Visual Positioning System (VPS) localization. These maps capture the visual features and spatial structure of an environment.

Functions​

NameSummary
acquire[androidJvm]
@Synchronized
fun acquire(): DeviceMappingSession
close[androidJvm]
@Synchronized
open override fun close()
configure[androidJvm]
fun configure(config: DeviceMappingConfig)
Configure the session with the specified settings.
featureStatus[androidJvm]
fun featureStatus(): FeatureStatus
Reports errors that have occurred within processes running inside this feature.
start[androidJvm]
fun start()
Start the mapping session.
startCreating[androidJvm]
fun startCreating()
Begin a mapping sequence.
stop[androidJvm]
fun stop()
Stop all mapping processes.
stopCreating[androidJvm]
fun stopCreating()
Stop the current mapping sequence.