CISClientCreator
@interface CISClientCreator : NSObject
Helper class required for creating a class instance conforming to protocol CISClientProtocol.
Generally, every application will have a class instance conforming to protocol CISClientProtocol, which can manage multiple sessions.
-
Most applications will only need one client, created during application initialization and released during application shutdown.
Declaration
Objective-C
+ (id<CISClientProtocol>) createWithClientSettings:(id<CISClientSettingProtocol>)settings factory:(id<CISSystemFactoryProtocol>)factory error:(NSError **)error;
Swift
class func create(withClientSettings settings: CISClientSettingProtocol!, factory: CISSystemFactoryProtocol!) throws -> CISClientProtocol
Parameters
settings
An instance of settings representing Conviva settings to be used.
factory
Factory to use for all system information and utility needs.
error
The error that can be used to check error if creating client encountered any error.
Return Value
Client instance.