Configuration
public struct Configuration : AttributionConfiguration
A struct that confirms AttributionConfiguration
protocol, convenience for SDK setup
-
application launch options
Declaration
Swift
public let launchOptions: LaunchOptions?
-
private key
Declaration
Swift
public let key: PrivateKey
-
server info
Declaration
Swift
public let backendURLProvider: BackendURLProvider
-
If application opened from link with the associated domain -
false
, otherwisetrue
Declaration
Swift
public var isManualAppLaunch: Bool { get }
-
Initialize new instanse of
Configuration
struct with given parametersDeclaration
Swift
public init(key: PrivateKey, launchOptions: LaunchOptions?, backendURLProvider: BackendURLProvider = BackendInfo.defaultConfiguration)
Parameters
key
private key for SDK setup
launchOptions
application launch options
backendURLProvider
server info
Return Value
new instanse of
Configuration
struct
-
Validate of current configuration instance on ability properly setup SDK
Declaration
Swift
public func validate() -> Bool
Return Value
Bool value
true
in case current configuration valid, otherwisefalse
.