harmony 鸿蒙File Management Subsystem Changelog
File Management Subsystem Changelog
c1.file_manager.1 Deprecation of File Management Module API and Parameters
Access Level
System API
Reason for Change
The deprecated API is a new API added in API version 11. Considering the compatibility with the existing APIs in API version 10, the authorization scheme is adjusted and the authorization is implemented by the AMS API GrantUriPermission. Therefore, this API is not longer required and is deprecated.
Change Impact
This API has never been released with a formal version. No adaptation is required.
API level
<11>
Deprecated Since
OpenHarmony SDK 4.1.5.1
Deprecated API/Parameters
function grantPermission(tokenId: number, policies: Array
export enum policyFlag
FORBID_PERSISTENCE = 0b10
ALLOW_PERSISTENCE = 0b1
Adaptation Guide
This API has never been released with a formal version. No adaptation is required.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Ability Subsystem Changelog
harmony 鸿蒙Access Token Changelog
harmony 鸿蒙Event Notification Subsystem ChangeLog
harmony 鸿蒙ArkCompiler Subsystem Changelog
harmony 鸿蒙ArkCompiler Subsystem Changelog
harmony 鸿蒙ArkUI Subsystem Changelog
harmony 鸿蒙Bundle Manager Subsystem Changelog
harmony 鸿蒙Graphics Subsystem Changelog
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦