setSoftphoneItemLabel() for Lightning Experience
Sets the label for the softphone component item in the utility bar. Returns true if the function is successfully executed, and false when there is a failure. This method is available in API version 38.0 or later.
The softphone label in the utility bar.

| Name | Type | Description |
|---|---|---|
label | string | The string you want to use for the softphone label in the utility bar. |
callback | function | JavaScript method executed when the API method call is completed. |
This method is asynchronous. The response is returned in an object passed to a callback method. The response object contains the following fields.
| Name | Type | Description |
|---|---|---|
success | boolean | Returns true if the API method call was invoked successfully, false otherwise. |
returnValue | object | This API method doesn’t return this object. The returnValue is always null. |
errors | array | If the API call was successful, this variable is null. If the API call failed, this variable returns an array of error messages. |