mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-24 07:09:59 +00:00
!598 avscreencapture支持pc端排除指定windowID窗口
Merge pull request !598 from 杰尼/master
This commit is contained in:
commit
64daaa7a61
@ -86,5 +86,9 @@
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_AVScreenCapture_ExcludeContent"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_AVScreenCapture_ContentFilter_AddWindowContent"
|
||||
}
|
||||
]
|
@ -350,6 +350,19 @@ OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_ContentFilter_AddAudioContent(
|
||||
OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_ExcludeContent(struct OH_AVScreenCapture *capture,
|
||||
struct OH_AVScreenCapture_ContentFilter *filter);
|
||||
|
||||
/**
|
||||
* @brief Add Window content to the screen capture content filter
|
||||
* @syscap SystemCapability.Multimedia.Media.AVScreenCapture
|
||||
* @param filter Pointer to an OH_AVScreenCapture_ContentFilter instance
|
||||
* @param Pointer to windowIDs to be added
|
||||
* @param windowCount to be added
|
||||
* @return Returns AV_SCREEN_CAPTURE_ERR_OK if the execution is successful,
|
||||
* otherwise returns a specific error code, refer to {@link OH_AVSCREEN_CAPTURE_ErrCode}
|
||||
* @since 12
|
||||
* @version 1.0
|
||||
*/
|
||||
OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_ContentFilter_AddWindowContent(
|
||||
struct OH_AVScreenCapture_ContentFilter *filter, int32_t *windowIDs, int32_t windowCount);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user