Configuration
public struct Configuration
Configuration struct used within the SDK.
-
Color configuration struct for colors used within the SDK.
See moreDeclaration
Swift
public struct Colors
-
Image configuration struct for images used within the SDK.
See moreDeclaration
Swift
public struct Images
-
Initializes SDK Configuration struct.
Product name, colors and images are optional. If not provided default will be used.
Precondition
apiToken
can not be empty.Declaration
Parameters
apiToken
Static API Token generated by TechCentrix backend
hostName
Host app name
productName
Product name e.g. wristband, bottle
colors
Color configuration struct for colors used within the SDK.
images
Image configuration struct for images used within the SDK.