Displaying the Settings Window
Function
This API is used to display the settings window.
Function Prototype
showSettingWindow(showInfo: ShowSettingWindowInfo, onShowSettingWindowResult?: (ret: SDKERR, reason: string) => void): voidshowSettingWindow(showInfo: ShowSettingWindowInfo, onShowSettingWindowResult?: (ret: SDKERR, reason: string) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
showInfo | Yes | ShowSettingWindowInfo | Information about displaying the settings window. |
onShowSettingWindowResult | Yes | (ret: SDKERR, reason: string) => void | Callback of displaying the settings window. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
isShow | Yes | boolean | Whether the settings window is displayed. |
defaultPage | Yes | SettingPage | Tab displayed by default. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
SETTING_PAGE_NORMAL | 0 | General |
SETTING_PAGE_VIDEO | 1 | Video |
SETTING_PAGE_AUDIO | 2 | Audio |
SETTING_PAGE_RECORD | 3 | Recording |
SETTING_PAGE_HOTKEY | 4 | Shortcut keys |
SETTING_PAGE_SCREEN | 5 | Screen |
SETTING_PAGE_COUNT | 6 | Number of setting screens |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
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