tencent cloud

Tencent Real-Time Communication

Define

PDF
Focus Mode
Font Size
Last updated: 2026-03-05 16:32:07

Introduction

This module defines common base types across platforms, providing unified error handling and callback mechanisms for API calls.

Features

Callback Mechanism:Provides unified completion callback closure types

Data Structures

CompletionHandler

Completion callback interface
Interface for asynchronous operation result callbacks. Calls onSuccess on success, onFailure on failure.
Properties
Property
Type
Description
errorCode
int
Error code.
errorMessage
String?
Error message description.
isSuccess
bool
Whether successful.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback