Help Center/ Meeting/ Client SDK Reference/ iOS SDK/ APIs/ Basic Settings/ Setting Guaranteed IP Addresses of the Management Plane Domain Name
Updated on 2025-04-18 GMT+08:00

Setting Guaranteed IP Addresses of the Management Plane Domain Name

setGlobalGuaranteedIpAddresses:

API Description

This API is used to set the guaranteed IP addresses of the management plane domain name.

Precautions

  1. This API is optional. If it is not called, the default IP address is used.

Method Definition

- (HWMSDKERR)setGlobalGuaranteedIpAddresses:(NSArray<HWMSDKGuaranteedIpAddressModel *> *)ipAddresses;

Parameter Description

Table 1 HWMSDKGuaranteedIpAddressModel description

Parameter

Mandatory

Type

Description

domain

Yes

NSString *

Domain name.

guaranteedIps

Yes

NSString *

Guaranteed IP addresses. Enter up to four IP addresses and separate them by semicolons (;).

Return Values

Whether the API is successfully called.

Sample Code

HWMSDKGuaranteedIpAddressModel *param = [[HWMSDKGuaranteedIpAddressModel alloc] init];
param.domain = @"domain";
param.guaranteedIps = @"ipaddress";
HWMSDKERR result = [[HWMBizSdk getBizOpenApi] setGlobalGuaranteedIpAddresses:@[param]];