Updated on 2024-07-30 GMT+08:00

API Call in Typical Scenarios

API Description

iOS SDK APIs are classified into synchronous APIs, asynchronous APIs, and global callback APIs.

Synchronous APIs: Apps proactively call SDK APIs to complete specific tasks. For example, the initWithConfig API can be called for initialization.

Asynchronous APIs: Every time when an SDK API is called, the result is requested in callback mode.

Global callback APIs: When event notifications are triggered by the Huawei Cloud Meeting server or SDK, the SDK notifies apps through notification APIs. For example, the onConfStatusChanged API can be called to notify you of meeting calls.

API Call in Typical Scenarios

Figure 1 API call in typical scenarios

1. Before using SDK functions, you need to initialize the SDK.

2. You can join a created meeting by using the meeting ID and password without login. In other scenarios, you need to log in first.

3. You can configure the notification function as required.