Variable: default
default: object;
Type declaration
initialize()
initialize: (hostInfo, configParams?, authOption?, clientAuthProvider?) => Promise<CCEverywhere>;
This is the main API which is used for initializing the SDK. Please ensure to call this API only once.
Parameters
Parameter
Type
Description
hostInfoconfigParams?clientAuthProvider?client authentication provider for fetching client authentication details.
Returns
Promise< CCEverywhere >
Promise with CCEverywhere object which can be used to call other APIs of SDK.
terminate()
terminate: () => boolean;
Terminates the active instance of CCEverywhere. This method will return false if there is no active CCEverywhere instance.
Returns
boolean
true on successful termination