notifyInitializationComplete() for Salesforce Classic

Usage

Notifies Salesforce that the softphone initialization is complete and that Salesforce should not switch to a standby URL. While the softphone initializes, a loading icon displays in the SoftPhone area. To use a standby URL, you must specify it in the call center’s definition file. For more information, see Optional Call Center Elements and Attributes.

Syntax

sforce.interaction.cti.notifyInitializationComplete()

Arguments

None.

Sample Code

<html>
<head>
<script src="http://domain:port/support/api/29.0/interaction.js"></script>
<script type="text/javascript">
        // Invokes API method
sforce.interaction.cti.notifyInitializationComplete();
</script>
</head>
<body>
The interaction framework has been notified that the CTI initialization is complete.
</body>
</html>

Response

None.