Displaying the Settings Window
showSettingWindowWithInfo
API Description
This API is used to display the settings window.
Method Definition
1
|
- (void)showSettingWindowWithInfo:(HWMUISDKShowSettingWindowInfoModel *)info; |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
info |
Yes |
HWMUISDKShowSettingWindowInfoModel |
Information about displaying the settings window. |
Parameter |
Type |
Description |
---|---|---|
isShow |
BOOL |
Whether the window is displayed. |
defaultPage |
HWMUISDKSettingPage |
Tab displayed by default. |
Enumerated Value |
Description |
---|---|
HWMUISDKSettingPageNormal |
General |
HWMUISDKSettingPageVideo |
Video |
HWMUISDKSettingPageAudio |
Audio |
HWMUISDKSettingPageRecord |
Recording |
HWMUISDKSettingPageHotkey |
Shortcut keys |
HWMUISDKSettingPageScreen |
Screen |
HWMUISDKSettingPageCount |
Number of setting screens |
Return Values
None
1 2 3 4 5 6 7 8 9 10 |
- (void)settingEvent:(NSButton *)button { if (![HWMSdk hasInit]) { // Call this API after initialization. return; } HWMUISDKShowSettingWindowInfoModel *model = [[HWMUISDKShowSettingWindowInfoModel alloc] init]; model.isShow = YES;// Whether the window is displayed. model.defaultPage = HWMUISDKSettingPageNormal;// Set the tab page to be displayed. [[HWMBizSdk getBizOpenApi] showSettingWindowWithInfo:model]; } |
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