Variable: default

Copied to your clipboard
default: object;

Type declaration

initialize()

Copied to your clipboard
initialize: (hostInfo, configParams?, authOption?) => Promise<CCEverywhere>;

This is the main API which is used for initializing the SDK. Please ensure to call this API only once.

Parameters

ParameterTypeDescription
hostInfo
configParams?
authOption?
authentication configuration

Returns

Promise<CCEverywhere>

Promise with CCEverywhere object which can be used to call other APIs of SDK.

terminate()

Copied to your clipboard
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