Skip to navigation

Callback (interface)

Android SDK v3 API reference
View as Markdown

CallUpgradeDecision

Interface to receive the result of CallUpgradeDecision.acceptReceiveAndSend.

Methods are invoked on VICore.callbackExecutor.

Methods

onFailure

fun onFailure(exception: CallUpgradeDecisionException): Unit

Reports that CallUpgradeDecision.acceptReceiveAndSend has failed.

Parameters

ParameterTypeRequirementDescription
exceptionCallUpgradeDecisionExceptionException with CallUpgradeDecisionException.error details

Returns: Unit

onSuccess

fun onSuccess(): Unit

Reports that CallUpgradeDecision.acceptReceiveAndSend has been completed successfully.

After this callback, the CallListener.onRemoteVideoStreamAdded event may be triggered to provide the remote video. The local video may also become available via Call.localVideoStream.

Returns: Unit