操作 旧版本 新版本 d.ts文件
API访问级别变更 文件名:api@ohos.file.cloudSync.d.ts;
类名:global;
API声明: declare namespace cloudSync
差异内容:systemapi
文件名:api@ohos.file.cloudSync.d.ts;
类名:global;
API声明: declare namespace cloudSync
差异内容:NA
api@ohos.file.cloudSync.d.ts
API访问级别变更 文件名:api@ohos.file.environment.d.ts;
类名:global;
API声明: declare namespace Environment
差异内容:systemapi
文件名:api@ohos.file.environment.d.ts;
类名:global;
API声明: declare namespace Environment
差异内容:NA
api@ohos.file.environment.d.ts
新增API NA 文件名:api@ohos.file.cloudSyncManager.d.ts;
类名:cloudSyncManager;
API声明:function notifyDataChange(userId: number, extraData: ExtraData): Promise<void>;
差异内容:function notifyDataChange(userId: number, extraData: ExtraData): Promise<void>;
api@ohos.file.cloudSyncManager.d.ts
新增API NA 文件名:api@ohos.file.cloudSyncManager.d.ts;
类名:cloudSyncManager;
API声明:function notifyDataChange(userId: number, extraData: ExtraData, callback: AsyncCallback<void>): void;
差异内容:function notifyDataChange(userId: number, extraData: ExtraData, callback: AsyncCallback<void>): void;
api@ohos.file.cloudSyncManager.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function mkdir(path: string, recursion: boolean): Promise<void>;
差异内容:declare function mkdir(path: string, recursion: boolean): Promise<void>;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function mkdir(path: string, recursion: boolean, callback: AsyncCallback<void>): void;
差异内容:declare function mkdir(path: string, recursion: boolean, callback: AsyncCallback<void>): void;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function mkdirSync(path: string, recursion: boolean): void;
差异内容:declare function mkdirSync(path: string, recursion: boolean): void;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.application.BackupExtensionAbility.d.ts;
类名:BackupExtensionAbility;
API声明:context: ExtensionContext;
差异内容:context: ExtensionContext;
api@ohos.application.BackupExtensionAbility.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:cloudSync;
API声明: class FileSync
差异内容: class FileSync
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSync;
API声明:on(event: 'progress', callback: Callback<SyncProgress>): void;
差异内容:on(event: 'progress', callback: Callback<SyncProgress>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSync;
API声明:off(event: 'progress', callback?: Callback<SyncProgress>): void;
差异内容:off(event: 'progress', callback?: Callback<SyncProgress>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSync;
API声明:start(): Promise<void>;
差异内容:start(): Promise<void>;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSync;
API声明:start(callback: AsyncCallback<void>): void;
差异内容:start(callback: AsyncCallback<void>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSync;
API声明:stop(): Promise<void>;
差异内容:stop(): Promise<void>;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSync;
API声明:stop(callback: AsyncCallback<void>): void;
差异内容:stop(callback: AsyncCallback<void>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSync;
API声明:getLastSyncTime(): Promise<number>;
差异内容:getLastSyncTime(): Promise<number>;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSync;
API声明:getLastSyncTime(callback: AsyncCallback<number>): void;
差异内容:getLastSyncTime(callback: AsyncCallback<number>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:cloudSync;
API声明: class CloudFileCache
差异内容: class CloudFileCache
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:CloudFileCache;
API声明:on(event: 'progress', callback: Callback<DownloadProgress>): void;
差异内容:on(event: 'progress', callback: Callback<DownloadProgress>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:CloudFileCache;
API声明:off(event: 'progress', callback?: Callback<DownloadProgress>): void;
差异内容:off(event: 'progress', callback?: Callback<DownloadProgress>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:CloudFileCache;
API声明:start(uri: string): Promise<void>;
差异内容:start(uri: string): Promise<void>;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:CloudFileCache;
API声明:start(uri: string, callback: AsyncCallback<void>): void;
差异内容:start(uri: string, callback: AsyncCallback<void>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:CloudFileCache;
API声明:stop(uri: string): Promise<void>;
差异内容:stop(uri: string): Promise<void>;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:CloudFileCache;
API声明:stop(uri: string, callback: AsyncCallback<void>): void;
差异内容:stop(uri: string, callback: AsyncCallback<void>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:CloudFileCache;
API声明:cleanCache(uri: string): void;
差异内容:cleanCache(uri: string): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:cloudSync;
API声明: enum FileSyncState
差异内容: enum FileSyncState
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSyncState;
API声明:UPLOADING
差异内容:UPLOADING
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSyncState;
API声明:DOWNLOADING
差异内容:DOWNLOADING
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSyncState;
API声明:COMPLETED
差异内容:COMPLETED
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:FileSyncState;
API声明:STOPPED
差异内容:STOPPED
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:cloudSync;
API声明:function getFileSyncState(uri: Array<string>): Promise<Array<FileSyncState>>;
差异内容:function getFileSyncState(uri: Array<string>): Promise<Array<FileSyncState>>;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSync.d.ts;
类名:cloudSync;
API声明:function getFileSyncState(uri: Array<string>, callback: AsyncCallback<Array<FileSyncState>>): void;
差异内容:function getFileSyncState(uri: Array<string>, callback: AsyncCallback<Array<FileSyncState>>): void;
api@ohos.file.cloudSync.d.ts
新增API NA 文件名:api@ohos.file.cloudSyncManager.d.ts;
类名:cloudSyncManager;
API声明: interface ExtraData
差异内容: interface ExtraData
api@ohos.file.cloudSyncManager.d.ts
新增API NA 文件名:api@ohos.file.cloudSyncManager.d.ts;
类名:ExtraData;
API声明:eventId: string;
差异内容:eventId: string;
api@ohos.file.cloudSyncManager.d.ts
新增API NA 文件名:api@ohos.file.cloudSyncManager.d.ts;
类名:ExtraData;
API声明:extraData: string;
差异内容:extraData: string;
api@ohos.file.cloudSyncManager.d.ts
新增API NA 文件名:api@ohos.file.environment.d.ts;
类名:Environment;
API声明:function getUserDownloadDir(): string;
差异内容:function getUserDownloadDir(): string;
api@ohos.file.environment.d.ts
新增API NA 文件名:api@ohos.file.environment.d.ts;
类名:Environment;
API声明:function getUserDesktopDir(): string;
差异内容:function getUserDesktopDir(): string;
api@ohos.file.environment.d.ts
新增API NA 文件名:api@ohos.file.environment.d.ts;
类名:Environment;
API声明:function getUserDocumentDir(): string;
差异内容:function getUserDocumentDir(): string;
api@ohos.file.environment.d.ts
新增API NA 文件名:api@ohos.file.environment.d.ts;
类名:Environment;
API声明:function getExternalStorageDir(): string;
差异内容:function getExternalStorageDir(): string;
api@ohos.file.environment.d.ts
新增API NA 文件名:api@ohos.file.environment.d.ts;
类名:Environment;
API声明:function getUserHomeDir(): string;
差异内容:function getUserHomeDir(): string;
api@ohos.file.environment.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:NotifyType;
API声明:NOTIFY_DEVICE_ONLINE
差异内容:NOTIFY_DEVICE_ONLINE
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:NotifyType;
API声明:NOTIFY_DEVICE_OFFLINE
差异内容:NOTIFY_DEVICE_OFFLINE
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:fileAccess;
API声明: interface MoveResult
差异内容: interface MoveResult
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:MoveResult;
API声明:sourceUri: string;
差异内容:sourceUri: string;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:MoveResult;
API声明:destUri: string;
差异内容:destUri: string;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:MoveResult;
API声明:errCode: number;
差异内容:errCode: number;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:MoveResult;
API声明:errMsg: string;
差异内容:errMsg: string;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:fileAccess;
API声明:const DEVICES_URI = 'file://docs';
差异内容:const DEVICES_URI = 'file://docs';
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:FileAccessHelper;
API声明:copyFile(sourceUri: string, destUri: string, fileName: string): Promise<string>;
差异内容:copyFile(sourceUri: string, destUri: string, fileName: string): Promise<string>;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:FileAccessHelper;
API声明:copyFile(sourceUri: string, destUri: string, fileName: string, callback: AsyncCallback<string>): void;
差异内容:copyFile(sourceUri: string, destUri: string, fileName: string, callback: AsyncCallback<string>): void;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:FileAccessHelper;
API声明:moveItem(sourceUri: string, destUri: string, force?: boolean): Promise<Array<MoveResult>>;
差异内容:moveItem(sourceUri: string, destUri: string, force?: boolean): Promise<Array<MoveResult>>;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:FileAccessHelper;
API声明:moveItem(sourceUri: string, destUri: string, callback: AsyncCallback<Array<MoveResult>>): void;
差异内容:moveItem(sourceUri: string, destUri: string, callback: AsyncCallback<Array<MoveResult>>): void;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:FileAccessHelper;
API声明:moveItem(sourceUri: string, destUri: string, force: boolean, callback: AsyncCallback<Array<MoveResult>>): void;
差异内容:moveItem(sourceUri: string, destUri: string, force: boolean, callback: AsyncCallback<Array<MoveResult>>): void;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:FileAccessHelper;
API声明:moveFile(sourceUri: string, destUri: string, fileName: string): Promise<string>;
差异内容:moveFile(sourceUri: string, destUri: string, fileName: string): Promise<string>;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileAccess.d.ts;
类名:FileAccessHelper;
API声明:moveFile(sourceUri: string, destUri: string, fileName: string, callback: AsyncCallback<string>): void;
差异内容:moveFile(sourceUri: string, destUri: string, fileName: string, callback: AsyncCallback<string>): void;
api@ohos.file.fileAccess.d.ts
新增API NA 文件名:api@ohos.file.fileuri.d.ts;
类名:FileUri;
API声明:getFullDirectoryUri(): string;
差异内容:getFullDirectoryUri(): string;
api@ohos.file.fileuri.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function copy(srcUri: string, destUri: string, options?: CopyOptions): Promise<void>;
差异内容:declare function copy(srcUri: string, destUri: string, options?: CopyOptions): Promise<void>;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function copy(srcUri: string, destUri: string, callback: AsyncCallback<void>): void;
差异内容:declare function copy(srcUri: string, destUri: string, callback: AsyncCallback<void>): void;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function copy(srcUri: string, destUri: string, options: CopyOptions, callback: AsyncCallback<void>): void;
差异内容:declare function copy(srcUri: string, destUri: string, options: CopyOptions, callback: AsyncCallback<void>): void;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function lseek(fd: number, offset: number, whence?: WhenceType): number;
差异内容:declare function lseek(fd: number, offset: number, whence?: WhenceType): number;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function readLines(filePath: string, options?: Options): Promise<ReaderIterator>;
差异内容:declare function readLines(filePath: string, options?: Options): Promise<ReaderIterator>;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function readLines(filePath: string, callback: AsyncCallback<ReaderIterator>): void;
差异内容:declare function readLines(filePath: string, callback: AsyncCallback<ReaderIterator>): void;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function readLines(filePath: string, options: Options, callback: AsyncCallback<ReaderIterator>): void;
差异内容:declare function readLines(filePath: string, options: Options, callback: AsyncCallback<ReaderIterator>): void;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function readLinesSync(filePath: string, options?: Options): ReaderIterator;
差异内容:declare function readLinesSync(filePath: string, options?: Options): ReaderIterator;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:declare function utimes(path: string, mtime: number): void;
差异内容:declare function utimes(path: string, mtime: number): void;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明: interface Progress
差异内容: interface Progress
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:Progress;
API声明:readonly processedSize: number;
差异内容:readonly processedSize: number;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:Progress;
API声明:readonly totalSize: number;
差异内容:readonly totalSize: number;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明: interface CopyOptions
差异内容: interface CopyOptions
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:CopyOptions;
API声明:progressListener?: ProgressListener;
差异内容:progressListener?: ProgressListener;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:File;
API声明:getParent(): string;
差异内容:getParent(): string;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:Stat;
API声明:readonly location: LocationType;
差异内容:readonly location: LocationType;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:export type ReaderIteratorResult = {
/
* Whether reader iterator completes the traversal.
*
* @type { boolean }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 11
*/
done: boolean;

/

* The value of reader iterator.
*
* @type { string }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 11
*/
value: string;
};
差异内容:export type ReaderIteratorResult = {
/
* Whether reader iterator completes the traversal.
*
* @type { boolean }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 11
*/
done: boolean;

/

* The value of reader iterator.
*
* @type { string }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 11
*/
value: string;
};
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明: declare interface ReaderIterator
差异内容: declare interface ReaderIterator
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:ReaderIterator;
API声明:next(): ReaderIteratorResult;
差异内容:next(): ReaderIteratorResult;
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明:export type Options = {
/
* @type { ?string }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 11
*/
encoding?: string;
};
差异内容:export type Options = {
/

* @type { ?string }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 11
*/
encoding?: string;
};
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明: declare enum WhenceType
差异内容: declare enum WhenceType
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:WhenceType;
API声明:SEEK_SET = 0
差异内容:SEEK_SET = 0
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:WhenceType;
API声明:SEEK_CUR = 1
差异内容:SEEK_CUR = 1
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:WhenceType;
API声明:SEEK_END = 2
差异内容:SEEK_END = 2
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:global;
API声明: declare enum LocationType
差异内容: declare enum LocationType
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:LocationType;
API声明:LOCAL = 1 << 0
差异内容:LOCAL = 1 << 0
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.fs.d.ts;
类名:LocationType;
API声明:CLOUD = 1 << 1
差异内容:CLOUD = 1 << 1
api@ohos.file.fs.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:photoAccessHelper;
API声明: enum RecommendationType
差异内容: enum RecommendationType
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RecommendationType;
API声明:QR_OR_BAR_CODE = 1
差异内容:QR_OR_BAR_CODE = 1
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RecommendationType;
API声明:QR_CODE = 2
差异内容:QR_CODE = 2
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RecommendationType;
API声明:BAR_CODE = 3
差异内容:BAR_CODE = 3
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RecommendationType;
API声明:ID_CARD = 4
差异内容:ID_CARD = 4
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RecommendationType;
API声明:PROFILE_PICTURE = 5
差异内容:PROFILE_PICTURE = 5
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:setPending(pendingState: boolean, callback: AsyncCallback<void>): void;
差异内容:setPending(pendingState: boolean, callback: AsyncCallback<void>): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:setPending(pendingState: boolean): Promise<void>;
差异内容:setPending(pendingState: boolean): Promise<void>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:isEdited(callback: AsyncCallback<boolean>): void;
差异内容:isEdited(callback: AsyncCallback<boolean>): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:isEdited(): Promise<boolean>;
差异内容:isEdited(): Promise<boolean>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:requestEditData(callback: AsyncCallback<string>): void;
差异内容:requestEditData(callback: AsyncCallback<string>): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:requestEditData(): Promise<string>;
差异内容:requestEditData(): Promise<string>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:requestSource(callback: AsyncCallback<number>): void;
差异内容:requestSource(callback: AsyncCallback<number>): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:requestSource(): Promise<number>;
差异内容:requestSource(): Promise<number>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:commitEditedAsset(editData: string, uri: string, callback: AsyncCallback<void>);
差异内容:commitEditedAsset(editData: string, uri: string, callback: AsyncCallback<void>);
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:commitEditedAsset(editData: string, uri: string): Promise<void>;
差异内容:commitEditedAsset(editData: string, uri: string): Promise<void>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:revertToOriginal(callback: AsyncCallback<void>);
差异内容:revertToOriginal(callback: AsyncCallback<void>);
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:revertToOriginal(): Promise<void>;
差异内容:revertToOriginal(): Promise<void>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:requestPhoto(callback: AsyncCallback<image.PixelMap>): string;
差异内容:requestPhoto(callback: AsyncCallback<image.PixelMap>): string;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:requestPhoto(options: RequestPhotoOptions, callback: AsyncCallback<image.PixelMap>): string;
差异内容:requestPhoto(options: RequestPhotoOptions, callback: AsyncCallback<image.PixelMap>): string;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAsset;
API声明:cancelPhotoRequest(requestId: string): void;
差异内容:cancelPhotoRequest(requestId: string): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoKeys;
API声明:DATE_YEAR = 'date_year'
差异内容:DATE_YEAR = 'date_year'
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoKeys;
API声明:DATE_MONTH = 'date_month'
差异内容:DATE_MONTH = 'date_month'
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoKeys;
API声明:DATE_DAY = 'date_day'
差异内容:DATE_DAY = 'date_day'
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoKeys;
API声明:PENDING = 'pending'
差异内容:PENDING = 'pending'
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:photoAccessHelper;
API声明: enum HiddenPhotosDisplayMode
差异内容: enum HiddenPhotosDisplayMode
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:HiddenPhotosDisplayMode;
API声明:ASSETS_MODE
差异内容:ASSETS_MODE
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:HiddenPhotosDisplayMode;
API声明:ALBUMS_MODE
差异内容:ALBUMS_MODE
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:photoAccessHelper;
API声明: interface RequestPhotoOptions
差异内容: interface RequestPhotoOptions
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RequestPhotoOptions;
API声明:size?: image.Size;
差异内容:size?: image.Size;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RequestPhotoOptions;
API声明:requestPhotoType?: RequestPhotoType;
差异内容:requestPhotoType?: RequestPhotoType;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:AlbumSubtype;
API声明:IMAGE
差异内容:IMAGE
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:photoAccessHelper;
API声明: enum RequestPhotoType
差异内容: enum RequestPhotoType
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RequestPhotoType;
API声明:REQUEST_ALL_THUMBNAILS = 0
差异内容:REQUEST_ALL_THUMBNAILS = 0
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RequestPhotoType;
API声明:REQUEST_FAST_THUMBNAIL
差异内容:REQUEST_FAST_THUMBNAIL
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RequestPhotoType;
API声明:REQUEST_QUALITY_THUMBNAIL
差异内容:REQUEST_QUALITY_THUMBNAIL
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAccessHelper;
API声明:getHiddenAlbums(mode: HiddenPhotosDisplayMode, options: FetchOptions, callback: AsyncCallback<FetchResult<Album>>): void;
差异内容:getHiddenAlbums(mode: HiddenPhotosDisplayMode, options: FetchOptions, callback: AsyncCallback<FetchResult<Album>>): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAccessHelper;
API声明:getHiddenAlbums(mode: HiddenPhotosDisplayMode, callback: AsyncCallback<FetchResult<Album>>): void;
差异内容:getHiddenAlbums(mode: HiddenPhotosDisplayMode, callback: AsyncCallback<FetchResult<Album>>): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAccessHelper;
API声明:getHiddenAlbums(mode: HiddenPhotosDisplayMode, options?: FetchOptions): Promise<FetchResult<Album>>;
差异内容:getHiddenAlbums(mode: HiddenPhotosDisplayMode, options?: FetchOptions): Promise<FetchResult<Album>>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAccessHelper;
API声明:saveFormInfo(info: FormInfo, callback: AsyncCallback<void>): void;
差异内容:saveFormInfo(info: FormInfo, callback: AsyncCallback<void>): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAccessHelper;
API声明:saveFormInfo(info: FormInfo): Promise<void>;
差异内容:saveFormInfo(info: FormInfo): Promise<void>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAccessHelper;
API声明:removeFormInfo(info: FormInfo, callback: AsyncCallback<void>): void;
差异内容:removeFormInfo(info: FormInfo, callback: AsyncCallback<void>): void;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoAccessHelper;
API声明:removeFormInfo(info: FormInfo): Promise<void>;
差异内容:removeFormInfo(info: FormInfo): Promise<void>;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:photoAccessHelper;
API声明: interface FormInfo
差异内容: interface FormInfo
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:FormInfo;
API声明:formId: string;
差异内容:formId: string;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:FormInfo;
API声明:uri: string;
差异内容:uri: string;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:DefaultChangeUri;
API声明:DEFAULT_HIDDEN_ALBUM_URI = 'file://media/HiddenAlbum'
差异内容:DEFAULT_HIDDEN_ALBUM_URI = 'file://media/HiddenAlbum'
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoSelectOptions;
API声明:isSearchSupported?: boolean;
差异内容:isSearchSupported?: boolean;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoSelectOptions;
API声明:isPhotoTakingSupported?: boolean;
差异内容:isPhotoTakingSupported?: boolean;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoSelectOptions;
API声明:isEditSupported?: boolean;
差异内容:isEditSupported?: boolean;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:PhotoSelectOptions;
API声明:recommendationOptions?: RecommendationOptions;
差异内容:recommendationOptions?: RecommendationOptions;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:photoAccessHelper;
API声明: class RecommendationOptions
差异内容: class RecommendationOptions
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.photoAccessHelper.d.ts;
类名:RecommendationOptions;
API声明:recommendationType?: RecommendationType;
差异内容:recommendationType?: RecommendationType;
api@ohos.file.photoAccessHelper.d.ts
新增API NA 文件名:api@ohos.file.picker.d.ts;
类名:picker;
API声明: export enum DocumentSelectMode
差异内容: export enum DocumentSelectMode
api@ohos.file.picker.d.ts
新增API NA 文件名:api@ohos.file.picker.d.ts;
类名:DocumentSelectMode;
API声明:FILE = 0
差异内容:FILE = 0
api@ohos.file.picker.d.ts
新增API NA 文件名:api@ohos.file.picker.d.ts;
类名:DocumentSelectMode;
API声明:FOLDER = 1
差异内容:FOLDER = 1
api@ohos.file.picker.d.ts
新增API NA 文件名:api@ohos.file.picker.d.ts;
类名:DocumentSelectMode;
API声明:MIXED = 2
差异内容:MIXED = 2
api@ohos.file.picker.d.ts
新增API NA 文件名:api@ohos.file.picker.d.ts;
类名:DocumentSelectOptions;
API声明:selectMode?: DocumentSelectMode;
差异内容:selectMode?: DocumentSelectMode;
api@ohos.file.picker.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明: export enum OperationMode
差异内容: export enum OperationMode
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:OperationMode;
API声明:READ_MODE = 0b1
差异内容:READ_MODE = 0b1
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:OperationMode;
API声明:WRITE_MODE = 0b10
差异内容:WRITE_MODE = 0b10
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明: export enum PolicyFlag
差异内容: export enum PolicyFlag
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:PolicyFlag;
API声明:ALLOW_PERSISTENCE = 0b1
差异内容:ALLOW_PERSISTENCE = 0b1
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:PolicyFlag;
API声明:FORBID_PERSISTENCE = 0b10
差异内容:FORBID_PERSISTENCE = 0b10
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明: export enum PolicyErrorCode
差异内容: export enum PolicyErrorCode
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:PolicyErrorCode;
API声明:PERSISTENCE_FORBIDDEN = 1
差异内容:PERSISTENCE_FORBIDDEN = 1
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:PolicyErrorCode;
API声明:INVALID_MODE = 2
差异内容:INVALID_MODE = 2
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:PolicyErrorCode;
API声明:INVALID_PATH = 3
差异内容:INVALID_PATH = 3
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明:export type PolicyErrorResult = {
/
* Indicates the failed uri of the policy information.
*
* @type { string }
* @syscap SystemCapability.FileManagement.AppFileService
* @since 11
*/
uri: string;

/

* Indicates the error code of the failure in the policy information.
*
* @type { PolicyErrorCode }
* @syscap SystemCapability.FileManagement.AppFileService
* @since 11
*/
code: PolicyErrorCode;

/
* Indicates the reason of the failure in the policy information.
*
* @type { string }
* @syscap SystemCapability.FileManagement.AppFileService
* @since 11
*/
message: string;
};
差异内容:export type PolicyErrorResult = {
/

* Indicates the failed uri of the policy information.
*
* @type { string }
* @syscap SystemCapability.FileManagement.AppFileService
* @since 11
*/
uri: string;

/
* Indicates the error code of the failure in the policy information.
*
* @type { PolicyErrorCode }
* @syscap SystemCapability.FileManagement.AppFileService
* @since 11
*/
code: PolicyErrorCode;

/

* Indicates the reason of the failure in the policy information.
*
* @type { string }
* @syscap SystemCapability.FileManagement.AppFileService
* @since 11
*/
message: string;
};
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明: export interface PolicyInfo
差异内容: export interface PolicyInfo
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:PolicyInfo;
API声明:uri: string;
差异内容:uri: string;
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:PolicyInfo;
API声明:operationMode: number;
差异内容:operationMode: number;
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明:function grantPermission(tokenId: number, policies: Array<PolicyInfo>, policyFlag: number): Promise<void>;
差异内容:function grantPermission(tokenId: number, policies: Array<PolicyInfo>, policyFlag: number): Promise<void>;
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明:function persistPermission(policies: Array<PolicyInfo>): Promise<void>;
差异内容:function persistPermission(policies: Array<PolicyInfo>): Promise<void>;
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明:function revokePermission(policies: Array<PolicyInfo>): Promise<void>;
差异内容:function revokePermission(policies: Array<PolicyInfo>): Promise<void>;
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明:function activatePermission(policies: Array<PolicyInfo>): Promise<void>;
差异内容:function activatePermission(policies: Array<PolicyInfo>): Promise<void>;
api@ohos.fileshare.d.ts
新增API NA 文件名:api@ohos.fileshare.d.ts;
类名:fileShare;
API声明:function deactivatePermission(policies: Array<PolicyInfo>): Promise<void>;
差异内容:function deactivatePermission(policies: Array<PolicyInfo>): Promise<void>;
api@ohos.fileshare.d.ts
起始版本有变化 文件名:api@ohos.file.cloudSync.d.ts;
类名:global;
API声明: declare namespace cloudSync
差异内容:10
文件名:api@ohos.file.cloudSync.d.ts;
类名:global;
API声明: declare namespace cloudSync
差异内容:11
api@ohos.file.cloudSync.d.ts
起始版本有变化 文件名:api@ohos.file.environment.d.ts;
类名:global;
API声明: declare namespace Environment
差异内容:8
文件名:api@ohos.file.environment.d.ts;
类名:global;
API声明: declare namespace Environment
差异内容:11
api@ohos.file.environment.d.ts
起始版本有变化 文件名:api@ohos.file.fileExtensionInfo.d.ts;
类名:global;
API声明: declare namespace fileExtensionInfo
差异内容:9
文件名:api@ohos.file.fileExtensionInfo.d.ts;
类名:global;
API声明: declare namespace fileExtensionInfo
差异内容:-1
api@ohos.file.fileExtensionInfo.d.ts
起始版本有变化 文件名:api@ohos.file.recent.d.ts;
类名:global;
API声明: declare namespace recent
差异内容:10
文件名:api@ohos.file.recent.d.ts;
类名:global;
API声明: declare namespace recent
差异内容:-1
api@ohos.file.recent.d.ts
起始版本有变化 文件名:api@ohos.file.trash.d.ts;
类名:global;
API声明: declare namespace trash
差异内容:10
文件名:api@ohos.file.trash.d.ts;
类名:global;
API声明: declare namespace trash
差异内容:-1
api@ohos.file.trash.d.ts
起始版本有变化 文件名:api@system.file.d.ts;
类名:global;
API声明: export interface FileResponse
差异内容:3
文件名:api@system.file.d.ts;
类名:global;
API声明: export interface FileResponse
差异内容:-1
api@system.file.d.ts