AgoraEduMonitorContext

The AgoraEduMonitorContext class.

The methods provided by the AgoraEduMonitorContext class are used for:
  • Monitoring SDK states.
  • Reporting states to the Agora server.

uploadLog

Uploads the logs.

void uploadLog(Callback<String> success,
               Callback<AgoraEduContextError> fail)

Parameter

success
If the method call succeeds, the SDK returns the log ID.
fail
If the method call fails, the SDK returns AgoraEduContextError.

getSyncTimestamp

Gets the timestamp after synchronizing with the server.

Int64 getSyncTimestamp()

Returns

The timestamp.