Skip to main content
←API Reference ←com.nianticspatial.nsdk.mapping ←DeviceMappingSession

configure


Declaration​

fun configure(config: DeviceMappingConfig)

Summary​

Configure the session with the specified settings.


> Note: It is only valid to call this when the session is stopped.
> Note: Configuration is asynchronous and can fail later, even if this call
does not throw an error. Use featureStatus() to check there are no issues.

Throws​

  • ARDKStatusException — with code ARDKStatus.invalidArgument if the configuration is invalid. Check ARDK's C logs for more information.

See also​

  • DeviceMappingConfig

Parameters​

NameTypeSummary
configDeviceMappingConfig
An object that defines this session's behavior. Only settings that differ from the defaults will be applied.