简介
本文档提供关于文件重命名的 API 概览以及 SDK 示例代码。
API | 操作描述 |
创建目录或相簿 |
SDK API 参考
创建目录或相簿
功能说明
用于创建目录或相簿。
示例代码
SMHResponse? response;try {response = await SMHAPIDirectoryApis.createDirectory(libraryId: libraryId,spaceId: spaceId,dirPath: 'dirPath',conflictResolutionStrategy: SMHConflictResolutionStrategy.rename,);} catch (e) {print(e);}