Updated on 2023-03-23 GMT+08:00

Logout

logout

API Description

This API is used to log out of Huawei Cloud Meeting.

Precautions

  1. Call this API only when you have logged in.
  2. error: Error information. nil: Success.

Method Definition

1
- (void)logout:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

None

Return Values

Table 1 HWMLogoutResult parameters

Parameter

Type

Description

userUuid

NSString *

Account UUID.

account

NSString *

Login account.

thirdAccount

NSString *

Third-party account for login using an app ID.

Sample Code
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
/// Logout
- (void)logout {
    [[HWMSdk getOpenApi] logout:^(NSError * _Nullable error, HWMLogoutResult * _Nullable result) {
        if (error == nil) {
            NSLog(@"Logout succeeded.");
        } else {
            NSLog(@"Logout failed.");
        }
    }];
}