创建文件夹

最近更新时间:2024-10-15 14:36:01

我的收藏

简介

本文档提供关于文件重命名的 API 概览以及 SDK 示例代码。
API
操作描述
创建目录或相簿

SDK API 参考

SDK 所有接口的具体参数与方法说明,请参见 SDK API 参考

创建目录或相簿

功能说明

用于创建目录或相簿。

示例代码

SMHResponse? response;
try {
response = await SMHAPIDirectoryApis.createDirectory(
libraryId: libraryId,
spaceId: spaceId,
dirPath: 'dirPath',
conflictResolutionStrategy: SMHConflictResolutionStrategy.rename,
);
} catch (e) {
print(e);
}