产品概述
功能介绍
产品优势
应用场景
基本概念
API | 操作描述 |
用于列出回收站项目 |
try {val recycledContents: RecycledContents = smh.listRecycled(//页码page = 1,//每页拉取的数量pageSize = 100,//排序方式orderType = OrderType.NAME,//排序方向orderDirection = OrderDirection.ASC)//回收站列表 其他数量等内容请查看 RecycledContents 实体内容val contents = recycledContents.contents} catch (e: Exception) {e.printStackTrace()}
try {val recycledContents: RecycledContents = smh.listRecycledWithMarker(//用于顺序列出分页的标识marker = 100,//用于顺序列出分页时本地列出的项目数限制limit = 100,//当前目录的 ETageTag = "eTag",//排序方式orderType = OrderType.NAME,//排序方向orderDirection = OrderDirection.ASC)//回收站列表 其他数量等内容请查看 RecycledContents 实体内容val contents = recycledContents.contents} catch (e: Exception) {e.printStackTrace()}
文档反馈