SIGN UP

VoxImplantCallback

Deprecated

Methods

onCallAudioStarted

Deprecated
void onCallAudioStarted(String callId)

Call audio started. You should stop playing progress tone when event is received

Parameters

  • callId:

    String

    id of call

onCallConnected

Deprecated
void onCallConnected(String callId, Map<String,String> headers)

Call established

Parameters

  • callId:

    String

    id of call

  • headers:

    Map<String,String>

    Optional headers passed with event

onCallDisconnected

Deprecated
void onCallDisconnected(String callId, Map<String,String> headers, boolean answeredElsewhere)

Call terminated

Parameters

  • callId:

    String

    id of call

  • headers:

    Map<String,String>

    Optional headers passed with event

  • answeredElsewhere:

    boolean

    Indicate if the call was answered on other peer

onCallFailed

Deprecated
void onCallFailed(String callId, int code, String reason, Map<String,String> headers)

Outgoing call failed

Parameters

  • callId:

    String

    id of call

  • code:

    int

    Status code

  • reason:

    String

    Status message

  • headers:

    Map<String,String>

    Optional headers passed with event

onCallRinging

Deprecated
void onCallRinging(String callId, Map<String,String> headers)

Call ringing. You should start playing call progress tone now

Parameters

  • callId:

    String

    id of call

  • headers:

    Map<String,String>

    Optional headers passed with event

onConnectionClosed

Deprecated
void onConnectionClosed()

Connection with cloud closed

onConnectionFailedWithError

Deprecated
void onConnectionFailedWithError(String reason)

Connection with cloud failed

Parameters

  • reason:

    String

    Error message

onConnectionSuccessful

Deprecated
void onConnectionSuccessful()

Connection with cloud established

onIncomingCall

Deprecated
void onIncomingCall(String callId, String from, String displayName, boolean videoCall, Map<String,String> headers)

New incoming call received by SDK

Parameters

  • callId:

    String

    id of call

  • from:

    String

    SIP URI of caller

  • displayName:

    String

    Displayed name of caller

  • videoCall:

    boolean

    video call flag

  • headers:

    Map<String,String>

    Optional headers passed with event

onLoginFailed

Deprecated
void onLoginFailed(VoxImplantClient.LoginFailureReason reason)

Invoked when login process failed

Parameters

  • reason:

    VoxImplantClient.LoginFailureReason

    Failure reason

onLoginSuccessful

Deprecated
void onLoginSuccessful(String displayName, VoxImplantCallback.LoginTokens loginTokens)

Invoked when login process finished successfully.

Parameters

onMessageReceivedInCall

Deprecated
void onMessageReceivedInCall(String callId, String text)

Instant message received during a call

Parameters

  • callId:

    String

    id of call

  • text:

    String

    Message text

onNetStatsReceived

Deprecated
void onNetStatsReceived(String callId, VoxImplantCallback.NetworkInfo stats)

Event dispatched when packet loss data received from Voximplant servers

Parameters

onOneTimeKeyGenerated

Deprecated
void onOneTimeKeyGenerated(String key)

Returns one time key generated by the login server as a result of requestOneTimeLoginKey.

Parameters

  • key:

    String

    One time key

onRefreshTokenFailed

Deprecated
void onRefreshTokenFailed(Integer reason)

Invoked when refresh of login tokens failed

Parameters

  • reason:

    Integer

    Failure reason

onRefreshTokenSuccess

Deprecated
void onRefreshTokenSuccess(VoxImplantCallback.LoginTokens loginTokens)

Invoked when refresh of login tokens finished successfully

Parameters

onSIPInfoReceivedInCall

Deprecated
void onSIPInfoReceivedInCall(String callId, String type, String content, Map<String,String> headers)

SIP INFO received during a call

Parameters

  • callId:

    String

    id of call

  • type:

    String

    MIME type of info

  • content:

    String

    Body of info message

  • headers:

    Map<String,String>

    Optional headers passed with event