Starting and Logging In to the App
Description
If the Huawei Cloud Meeting client is installed on a user device, the user can start and log in to the client in this mode. The home screen is displayed after login.
1. If the user has not logged in when clicking the link, the user will log in to the client using the account used to obtain the token and the home screen is displayed.
2. If the user has logged in, the home screen is displayed. Login is not performed again.
Service Process
- Perform app ID authentication. For details, see Authenticating an App ID in API Reference.
- Obtain a nonce. For details, see Obtaining a Nonce for Redirection Without Login in API Reference.
- Start the Huawei Cloud Meeting client and log in to the home screen. For details, see the following sample code.
Code Sample (C++)
void joinMeetingAnonymousDlg::OnBnClickedButtonJoinMeetingAnonymous() { // Assemble the scheme. CString schemeStr = _T("cloudlink://welinksoftclient/h5page?page=launch&nonce=") + getNonce(); HWND hwnd = AfxGetApp()->GetMainWnd()->GetSafeHwnd(); ShellExecute(hwnd, _T("open"), schemeStr, NULL, NULL, SW_SHOWNORMAL); }
- The preceding code is only a logical sample and cannot be directly used.
- To start the Huawei Cloud Meeting client from a web page, use href=cloudlink://welinksoftclient/h5page?page=launch&nonce=nonce_value for redirection.
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