Skip to main content

VoipCall

Instances of the VoipCall contain information about specific calls that are managed by the Cloudonix Mobile SDK and exposes bean properties with call details. Instances of VoipCall can be retrieved from various methods in the CloudonixSDKClient class, such as getCalls().

The properties documented below are to be accessed from Java using standard bean getter/setter methods - e.g. to set the serverUrl property, call setServerUrl(address).

Properties

String sipCallId

The value of the SIP Call-ID header for this call.

String key

The Cloudonix Mobile SDK call key for this call - this is the value used to refer to this call in various Cloudonix Mobile SDK APIs.

String url

The remote side's contact identifier (usually a phone number)

CallState state

The current state of the call. Changes to this value are propagated through the onCallState event listener. See Call Status Reference for a list of possible values.

long startTime

The time at the start of the call, as UNIX epoch time in seconds.

boolean isMuted

Whether the call is currently in mute.

Methods

isActive()

Return a boolean value specifying whether this call is currently "active" - i.e. has been started and had not been disconnected yet. Incoming calls are only considered "active" after starting to answer.