Skip to main content

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

configure

[androidJvm]
fun configure(config: DeviceMappingConfig)

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.

Parameters​

androidJvm

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

See also​

DeviceMappingConfig

Throws​

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