Product Overview
Feature Description
Product Strengths
Use Cases
Basic Concept
API | Operation Description |
Batch Move Directories or Files |
try {//Files or folders to be batch movedval items: List<BatchMoveItem> = listOf(BatchMoveItem(//Source directory, album, or file path to be moved"fromPath",//Target directory, album, or file path"toPath",//Handling method when filename conflictConflictStrategy.RENAME,//Whether to move folder permissionstrue),BatchMoveItem("fromPath", "toPath", ConflictStrategy.RENAME, false))//Return batch operation result//If it is synchronously returned: just obtain the result content directly from batchResponse.result//If it is asynchronously returned: need to call the Query Task API to obtain the result content (generally poll the query task until the task result is queried)val batchResponse: BatchResponse = smh.batchMove(items = items)} catch (e: Exception) {e.printStackTrace()}
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan