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 

1sforce.interaction.cti.notifyInitializationComplete()

Arguments 

None.

Sample Code 

1<html>
2<head>
3<script src="http://domain:port/support/api/29.0/interaction.js"></script>
4<script type="text/javascript">
5        // Invokes API method
6sforce.interaction.cti.notifyInitializationComplete();
7</script>
8</head>
9<body>
10The interaction framework has been notified that the CTI initialization is complete.
11</body>
12</html>

Response 

None.