configure
Declaration
func configure(with config: Configuration) throws
Summary
Throws
NSDKError.invalidArgumentif the configuration is invalid. Check NSDK's C logs for more information.
Parameters
| Name | Type | Summary |
|---|---|---|
| config | Configuration | - |
NSDKError.invalidArgument if the configuration is invalid. Check NSDK's C logs for more information.| Name | Type | Summary |
|---|---|---|
| config | Configuration | - |
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.