CPaaS
@objc
public class CPaaS : NSObject
Main instance for the CPaaS SDK. Contains service subscriptions, and manages authentication and configurations.
Since
1.0.0-
Version of the CPaaS SDK
Declaration
Swift
@objc public let version: String
Return Value
String
-
The authentication manager.
Declaration
Swift
@objc public private(set) var authenticationService: CPAuthenticationService! { get }
Return Value
Authentication
-
The Push Notification Manager
Declaration
Swift
@objc public private(set) var pushService: CPPushService! { get }
Return Value
PushManager
-
The Call service manager.
Declaration
Swift
@objc public private(set) var callService: CPCallService? { get }
Return Value
CallService
-
The SMS service manager.
Declaration
Swift
@objc public private(set) var smsService: CPSmsService? { get }
Return Value
SmsService
-
The Chat service manager.
Declaration
Swift
@objc public private(set) var chatService: CPChatService? { get }
Return Value
ChatService
-
The Presence service manager.
Declaration
Swift
@objc public private(set) var presenceService: CPPresenceService? { get }
Return Value
PresenceService
-
The Addressbook service manager.
Declaration
Swift
@objc public private(set) var addressBookService: CPAddressBookService? { get }
Return Value
CPAddressBookService
-
Initializes the CPaaS instance with the given service information.
Since
1.0.0
Declaration
Swift
@objc public convenience init?(services: [CPServiceInfo])
Parameters
services
Array which contains service informations