getCurrentState()

Note: This API is supported from version 8.1.0-beta01.

The getCurrentState() API retrieves the current status of an ongoing call.

Returns:

  • SalesIQCallState: Represents the current call status and a value that indicates whether the call is incoming or outgoing. 

Syntax

Copied@NonNull SalesIQCallState getCurrentState();

Example

CopiedZohoSalesIQCalls.getCurrentState();
CopiedZohoSalesIQCalls.currentState