openharmony 鸿蒙 changelogs-media

2026-08-25 浏览 (1)

Media Subsystem Changelog

cl.media.1 Change in Screenshot API Called by the System Screen Recording Application

Access Level

Other

Reason for Change

At 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.

To 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.

Impact of the Change

This change does not require application adaptation.

Before change: When system screen recording ends, third-party applications receive a callback event if they have subscribed to screenshot events through the window module.

After 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.

Start API Level

API 9

Change Since

OpenHarmony SDK 5.1.0.46

Key API/Component Changes

No API or component change is involved.

Adaptation Guide

No adaptation is required.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 changelogs-arkcompiler

openharmony 鸿蒙 changelogs-arkguard

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/tn5vC263