RTCBridge

public class RTCBridge

RTC bridge entry point.

Provides all im_libcore capabilities required by the RTC module. The RTC module accesses underlying IM core functionality through this class without directly depending on im_libcore.

This class is for internal RTC module use only. External developers should not call this directly. External calls will trigger Android Lint errors.

Properties

Link copied to clipboard
public final static RTCBridge INSTANCE

Functions

Link copied to clipboard

Adds a navigation event observer.

Link copied to clipboard
public final Unit cancelRTCSignaling(IntArray requestIds)

Cancels pending RTC signaling requests.

Link copied to clipboard
public final Unit forceReconnect(RTCCallback<String> callback)

Forces a reconnection.

Link copied to clipboard
public final Long getDeltaTime()

Gets the time delta between the local clock and the server clock.

Link copied to clipboard
public final String getDeviceId()

Gets the unique device identifier.

Link copied to clipboard
public final String getNavPreferenceValue(String key)

Gets a navigation preference value.

Link copied to clipboard
public final Boolean getPrivateCloudConfig(<Error class: unknown class> context)

Gets private cloud configuration.

Link copied to clipboard
public final String getVersion()

Gets the SDK version.

Link copied to clipboard
public final String getVoIPInfo()

Gets VoIP information.

Link copied to clipboard
public final Boolean isPrivateSDK()

Checks whether this is a private cloud SDK.

Link copied to clipboard

Registers an RTC extension module.

Link copied to clipboard
public final Unit requestNav(String appKey, String token, Boolean notify, String reason)

Requests a navigation refresh.

Link copied to clipboard
public final Unit sendGroupCallSignalInfo(String targetId, String key, String signalInfo, CallPlusSignalCallback callback)

Sends group call signaling.

Link copied to clipboard
public final Unit sendRTCHeartbeat(Array<String> roomIds, Integer timeout)

Sends an RTC heartbeat.

Link copied to clipboard
public final Unit sendRtcSignaling(String roomId, String methodName, Boolean isQuery, ByteArray buffer, Integer timeoutSec, RTCCallback<ByteArray> callback)

Sends an RTC signaling message.

Link copied to clipboard

Sets the group call signaling listener.

Link copied to clipboard

Sets the RTC heartbeat listener.

Link copied to clipboard

Sets the RTC room event listener.

Link copied to clipboard
public final Unit solveServerHosts(String host, RTCCallback<List<String>> callback)

Resolves server hostnames.

Link copied to clipboard
public final Unit writeLog(Integer level, Integer type, String tag, String keys, Object values)

Writes a log entry.