KiiApp
public struct KiiApp
Represents Kii Cloud Application
-
ID of the App
Declaration
Swift
public let appID: String
-
Key of the APP
Declaration
Swift
public let appKey: String
-
Host name to which the app connects
Declaration
Swift
public let hostName: String
-
Base URL of the apis used by the app
Declaration
Swift
public let baseURL: String
-
Name of the site to which the app belongs
Declaration
Swift
public let siteName: String
-
Init app with appID, appKey and site. If you haven’t created application in Kii Cloud, Please vist https://developer.kii.com and create your app first.
Declaration
Swift
public init(_ appID:String, appKey:String, site:Site)
-
Init app with appID, appKey, hostName, baseURL, siteName and port.
Declaration
Swift
public init( _ appID: String, appKey: String, hostName: String, urlSchema: String = "https", siteName: String = "CUSTOM", port: Int32 = -1)