Skip to content

ErrorEvent

Lejla Solak edited this page May 26, 2023 · 2 revisions



getErrorCode()

Description

Getter for the errorCode field.

Arguments

  • none

Returns

  • ErrorCode - Value of the errorCode field that contains the reason why some action during the conference call failed with an error.

Example

DefaultRoomCallEventListener roomCallEventListener = new DefaultRoomCallEventListener() {
    @Override
    public void onError(ErrorEvent errorEvent) {
        Log.e("WebRTC", String.format("Error: %s.", errorEvent.getErrorCode().getDescription()));
    }
};

Tutorials

Migration guides

Reference documentation

Clone this wiki locally