RTCCallback

public interface RTCCallback<T extends Object>

RTC generic asynchronous callback interface.

This interface is for internal RTC module use only. External developers should not call this directly.

Parameters

T

Data type returned on success

Functions

Link copied to clipboard
public abstract Unit onFailed(Integer errorCode)

Invoked when the operation fails.

Link copied to clipboard
public abstract Unit onSuccess(T result)

Invoked when the operation succeeds.