此内容的本地化语言页面暂未提供。我们将不断努力以提供本地化语言版本。感谢您的关注。

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
Software Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Customizing the Settings Screen

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

ConfigSettingWindow

API Description

This API is used to customize the display of tab pages and function areas of the settings screen. If not customized, all tab pages and function areas are displayed by default.

Figure 1 Settings screen

Precautions

  1. This API must be called before the setting screen is opened. Calling this API when the setting screen is opened does not take effect immediately.
  2. This API is an asynchronous API. The return value only indicates whether the API is successfully called. The actual service processing result is returned in the corresponding callback function.

Method Definition

1
HWM_SDK_AGENT_API hwmsdk::HwmErrCode ConfigSettingWindow(const HwmSettingWindowConfig * configInfo);

Callback Function

1
virtual void OnConfigSettingWindowResult(hwmsdk::HwmErrCode ret, const char* reason) {};

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

configInfo

Yes

HwmSettingWindowConfig

Settings screen customization information.

Table 2 HwmSettingWindowConfig description

Parameter

Type

Description

normalTab

HwmNormalSettingTab

Customization information about the basic settings screen.

videoTab

HwmVideoSettingTab

Customization information about the video settings screen.

audioTab

HwmAudioSettingTab

Customization information about the audio settings screen.

screenTab

HwmScreenSettingTab

Customization information about the screen settings screen.

recordTab

HwmRecordSettingTab

Customization information about the recording settings screen.

virtualBackgroudTab

HwmVirtualBackgroudSettingTab

Customization information about the virtual background settings screen.

hotkeyTab

HwmHotKeySettingTab

Customization information about the shortcut key settings screen.

Table 3 HwmNormalSettingTab description

Parameter

Type

Description

isHide

bool

Whether to hide.

callOrConfArea

HwmSettingArea

Calling settings area customization information.

chatNotifyArea

HwmSettingArea

Message notifications settings area customization information.

subtitleArea

HwmSettingArea

Captions settings area customization information.

shareArea

HwmSettingArea

Screen sharing settings area customization information.

Table 4 HwmVideoSettingTab description

Parameter

Type

Description

isHide

bool

Whether to hide.

cameraArea

HwmSettingArea

Camera settings area customization information.

videoViewArea

HwmSettingArea

Video settings area customization information.

Table 5 HwmAudioSettingTab description

Parameter

Type

Description

isHide

bool

Whether to hide.

micArea

HwmSettingArea

Microphone settings area customization information.

spkArea

HwmSettingArea

Speaker settings area customization information.

advancedArea

HwmSettingArea

Advanced settings area customization information.

Table 6 HwmScreenSettingTab description

Parameter

Type

Description

isHide

bool

Whether to hide.

dualScreenArea

HwmSettingArea

Customization information about the dual screen setting area.

displayTopologyArea

HwmSettingArea

Customization information about the display mode setting area.

swapContentArea

HwmSettingArea

Customization information about the area of switching the display content.

Table 7 HwmRecordSettingTab description

Parameter

Type

Description

isHide

bool

Whether to hide.

localRecordArea

HwmSettingArea

Local recording settings area customization information.

Table 8 HwmVirtualBackgroudSettingTab description

Parameter

Type

Description

isHide

bool

Whether to hide.

virtualBackgroudArea

HwmSettingArea

Virtual background settings area customization information.

Table 9 HwmHotKeySettingTab description

Parameter

Type

Description

isHide

bool

Whether to hide.

hotkeyArea

HwmSettingArea

Shortcut key settings area customization information.

Table 10 HwmSettingArea description

Parameter

Type

Description

isHide

bool

Whether to hide.

Return Values

Table 11 Return values

Type

Description

HwmErrCode

If 0 is returned, the operation is successful. If other values are returned, the operation fails. For details about values returned upon failures, see Common Error Codes.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
/**
* Customize the settings screen.
*/
void demoConfigSettingWindowDlg::OnBnClickedOk()
{
    hwmsdkagent::HwmSettingWindowConfig data{ 0 };
 
    data.normalTab.isHide = true;
    data.videoTab.videoViewArea.isHide = true;
 
    int ret = hwmsdkagent::ConfigSettingWindow(&data);
    if (hwmsdk::HWM_COMMON_SUCCESS != ret)
    {
        AfxMessageBox(_T("config setting window error"));
        return;
    }
}

我们使用cookie来确保您的高速浏览体验。继续浏览本站,即表示您同意我们使用cookie。 详情

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback