Service
@objc
public class Service : NSObject
Maintains service data for the OracleLive Controller. The Controller singleton has an instance of this class as a member. Specify the settings directly on this member class as follows:
Controller.shared.service.address = <cloud server address>
Controller.shared.service.userID = <user id>
Controller.shared.service.tenantID = <your tenant id>
Controller.shared.service.clientID = <your application client id>
Controller.shared.service.authToken = <authentication token>
Controller.shared.service.language = <your locale>
-
Cloud server address, like “live.oraclecloud.com”.
Declaration
Swift
@objc public var address: String
-
Tenant ID
Declaration
Swift
@objc public var tenantID: String
-
Application ID
Declaration
Swift
@objc public var clientID: String
-
Flag to skip the recording permission request. If set to true, the user will not see the dialog to prompt for recording permission.
Declaration
Swift
@objc public var skipRecordingPermissionRequest: Bool
-
The last kyc transaction reference that was successfully connected to the associate.
Declaration
Swift
@objc public var kycScanReference: String
-
An overridden language setting
Declaration
Swift
@objc public var language: String
-
An authentication token
Declaration
Swift
@objc public var authToken: String? { get set }
-
An ID for the user
Declaration
Swift
@objc public var userID: String { get set }
-
Any callback Options made available by the server (i.e. are configured in the tenant MS for this application)
Declaration
Swift
@objc public var pstnCallbacksAvailable: Bool
-
Any locale translations provided by the server
Declaration
Swift
@objc public var translations: [String : String]?