tencent cloud

Smart Media Hosting

Deleting a Folder

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-01-07 11:03:09

Introduction

This document provides an API overview about file renaming and SDK example code.
API
Operation Description
Delete catalog or album

Delete Catalog or Album

Feature Overview

Used for deleting catalog or album.

Example Code

//target folder
val targetDir = Directory()
try {
val checkSuccess: Boolean = smh.deleteDirectory(
dir = targetDir
)
} catch (e: Exception) {
e.printStackTrace()
}


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック