API Call in Typical Scenarios
API Description
Electron SDK APIs are classified into active calling synchronous APIs, active calling asynchronous APIs, and subscription and notification APIs.
Active calling synchronous APIs: The application actively calls these APIs to complete tasks. For example, the Init API is called for initialization.
Active calling asynchronous APIs: The application actively calls APIs and the SDK processes internal tasks asynchronously. After a task is processed, the SDK notifies the application in API callback mode. For example, the input parameters of the API for creating a meeting include the parameters required for creating a meeting and the onCreateConfResult callback function of the meeting creation result.
Subscription and notification APIs: For an event notification triggered by the Huawei Cloud Meeting server or SDK, after the corresponding subscription API is called, the SDK notifies the application through the notification API. For example, the setOnConfListChangedCB notification API for subscribing to the meeting list.
API Call in Typical Scenarios
1. Generally, the process needs to be ended before application upgrade. To facilitate upgrade management on the Windows 64-bit platform, change the name of the HwmSdk.exe file in the HwmSdk folder to your own name before initialization. (Ignore this note if you use other platforms.)
2. Login is not mandatory. You can use the meeting ID and password to join a created meeting without login.
3. The UI of the current SDK provides functions of leaving and ending a meeting. If you do not need to control these functions, you do not need to call APIs for leaving and ending a meeting.
4. After a meeting starts, the onConfInfoNotify notification of the subscribed-to meeting details is reported for multiple times.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot