Skip to main content
API Reference SwiftyNsdk NsdkDeviceMappingSession

configure

Configures the session with the specified settings....

Declaration

func configure(with config: Configuration) throws

Summary

Configures the session with the specified settings.
- Attention: This method must be called while the session is stopped,
or else configuration will fail. In that case, while this function returns without
throwing, configuration will still fail asynchronously. Use featureStatus()
to check that configuration has not failed.
- Parameter config: An object that defines this session's behavior.
Only settings that differ from the defaults will be applied.
- Throws: NsdkError.invalidArgument if the configuration is invalid.
Check NSDK's C logs for more information.


ON THIS PAGE