Variable: default
Copied to your clipboarddefault: object;
Type declaration
initialize()
Copied to your clipboardinitialize: (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
Parameter | Type | Description |
---|---|---|
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 clipboardterminate: () => 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