Skip to main content

VoipCall

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

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)

CloudonixCallState_e state

The current state of the call. Changes to this value are propagated through the onCallState event listener.

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.