• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Media Subsystem Changelog
2
3## cl.media.1 Change in Screenshot API Called by the System Screen Recording Application
4
5**Access Level**
6
7Other
8
9**Reason for Change**
10
11At the end of the system screen recording, a screenshot API provided by the window module will be called to generate a thumbnail of the screen, which will then trigger a screenshot event. This event can interfere with listeners of third-party applications if these applications have subscribed to screenshot events through the window module.
12
13To mitigate this problem, the window module has introduced a new screenshot API designated for the system screen recording application. This way, third-party applications will no longer capture the screenshot events generated by system screen recording application.
14
15**Impact of the Change**
16
17This change does not require application adaptation.
18
19Before change: When system screen recording ends, third-party applications receive a callback event if they have subscribed to screenshot events through the window module.
20
21After change: When system screen recording ends, third-party applications do not receive a callback event if they have subscribed to screenshot events through the window module.
22
23**Start API Level**
24
25API 9
26
27**Change Since**
28
29OpenHarmony SDK 5.1.0.46
30
31**Key API/Component Changes**
32
33No API or component change is involved.
34
35**Adaptation Guide**
36
37No adaptation is required.
38