openharmony 鸿蒙 arkts-apis-photoAccessHelper-t

2026-08-25 浏览 (1)

Types

NOTE

The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.

MemberType

type MemberType = number|string|boolean

Defines the types of the PhotoAsset members.

The member types are the union of the types listed in the following table.

System capability: SystemCapability.FileManagement.PhotoAccessHelper.Core

TypeDescription
numberThe member value is any number.
stringThe member value is any string.
booleanThe member value is true or false.

PhotoAssetParams21+

type PhotoAssetParams = Record<string, MemberType>[]

Defines the array of record types that map file property names to their values.

System capability: SystemCapability.FileManagement.PhotoAccessHelper.Core

TypeDescription
Record<string, MemberType>[]Array of record types that map file property names to their values.

OperationValueType22+

type OperationValueType = number|string|boolean

Defines the values needed for matching different predicates.

Model restriction: This API can be used only in the stage model.

Atomic service API: This API can be used in atomic services since API version 22.

System capability: SystemCapability.FileManagement.PhotoAccessHelper.Core

TypeDescription
numberUsed for numeric fields. It can be any value.
stringUsed for string fields. It can be any value.
booleanUsed for boolean fields.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-mediaassetmanager-oh-mediaassetmanager

openharmony 鸿蒙 arkts-apis-photoAccessHelper-MediaAssetProgressHandler

openharmony 鸿蒙 arkts-apis-photoAccessHelper-AbsAlbum

openharmony 鸿蒙 arkts-apis-photoAccessHelper-PhotoAccessHelper

openharmony 鸿蒙 arkts-apis-photoAccessHelper-QuickImageDataHandler

openharmony 鸿蒙 capi-media-access-helper-capi-h

openharmony 鸿蒙 arkts-apis-photoAccessHelper-PhotoAsset

openharmony 鸿蒙 capi-mediaassetmanager-oh-movingphoto

openharmony 鸿蒙 capi-mediaassetmanager

openharmony 鸿蒙 capi-mediaassetmanager-medialibrary-requestid

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