isVisible() for Salesforce Classic

Returns true if the softphone is visible or false if the softphone is hidden.

NameTypeDescription
callbackfunctionJavaScript method executed when the API method call is completed.
NameTypeDescription
resultbooleantrue if the softphone is visible, false if the softphone isn’t visible.
errorstringIf the API call was successful, this variable is undefined. If the API call failed, this variable returns an error message.