configure
Configures the session with the specified settings.
Declaration
func configure(with config: Configuration) throws
Summary
Throws
NSDKError.invalidArgumentif the configuration is invalid. Check NSDK's C logs for more information.
Notice
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.
Parameters
| Name | Type | Summary |
|---|---|---|
| config | Configuration | An object that defines this session's behavior. Only settings that differ from the defaults will be applied. |
Configures the session with the specified settings.