Creating and Initializing the Client Connection

Create and initialize SMPClientConnection.

The SMPClientConnection class declares the programmatic interface for an object that manages connection settings required for registering the user and fetching application settings from the server. An SMPClientConnection object has to be initialized and connection properties has to be set on this object before performing any type of user onboarding or before fetching any application settings from the server.

Syntax

The following code illustrates how to initialize an application:

+(SMPClientConnection*)initializeWithAppID:(NSString*)applicationID
domain:(NSString*)domain secConfiguration:(NSString*)secConfig;   

Examples