harmony 鸿蒙File Management Subsystem Changelog

  • 2023-06-24
  • 浏览 (293)

File Management Subsystem Changelog

cl.filemanagement.1 Filter Module Change

Moved Filter from @ohos.fileio to @ohos.file.fs. The attributes of Filter remain unchanged.

Change Impact

If your application is developed using the APIs of earlier versions, note that the position of Filter in the d.ts file and the module name are changed. The Filter type is moved to @ohos.file.fs.

Key API/Component Changes

Before the change, Filter is in the @ohos.fileio module and imported as follows:

import Filter from '@ohos.fileio';

Adaptation Guide

Now, Filter is in the @ohos.file.fs module and imported as follows:

import Filter from '@ohos.file.fs';

你可能感兴趣的鸿蒙文章

harmony 鸿蒙App Access Control Subsystem ChangeLog

harmony 鸿蒙Security Subsystem Changelog

harmony 鸿蒙Web Subsystem Changelog

harmony 鸿蒙Account Subsystem Changelog

harmony 鸿蒙ArkUI Subsystem Changelog

harmony 鸿蒙Bundle Manager Subsystem Changelog

harmony 鸿蒙Common Event Subsystem Changelog

harmony 鸿蒙Pasteboard Subsystem Changelog

harmony 鸿蒙Power Subsystem Changelog

harmony 鸿蒙Pan-sensor Subsystem Changelog

0  赞