Skip to main content
The Meeting SDK uses two kinds of one-shot result callbacks: MeetingResultCallback when there is no business return value, and MeetingValueResultCallback<T> when success needs to return an object.

Usage notes

  • Each asynchronous call returns exactly one final state; it never both succeeds and fails.
  • Errors produced by Meeting itself are 202xxx; valid error codes from SRTC, the server, or HTTP are passed through as is.
  • Callbacks stay on the thread they actually come from; the main thread is not guaranteed.
  • message is for development diagnostics and is not part of a stable user-facing text contract.

MeetingResultCallback

onSuccess()

Description: The operation completed successfully without a business value. Parameters: None. Returns: None (Unit).

onFailure(errorCode, message)

Description: The operation failed. Parameters: Returns: None (Unit).

MeetingValueResultCallback<T>

onSuccess(value)

Description: The operation completed successfully and returns a business value. Parameters: Returns: None (Unit).

onFailure(errorCode, message)

Description: The operation failed; same semantics as MeetingResultCallback.onFailure(). Parameters: Returns: None (Unit). See Error codes.