获取文件和文件夹的图标

编程入门 行业动态 更新时间:2024-10-08 10:59:54
本文介绍了获取文件和文件夹的图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

现在正在搜索一天,什么也看不到.我想让文件和文件夹的图标处于当前状态.

been searching for a day now and can't see anything. I'd like to get the icons for the files and folders in their current state.

我希望有这样的东西:

api.gogole/gdrive-sdk/icons/{$file_id}.png

或在列出文件后返回的item数组[]中具有图标的链接.

or to have a link to the icon in the items array[] returned from listing the files.

任何帮助表示赞赏, daithi

any help appreciated, daithi

推荐答案

文件元数据中包含每个文件的缩略图.检查thumbnailLink属性:

A thumbnail for each file is included in the file metadata. Check the thumbnailLink property:

developers.google/drive/v2/reference/files

更多推荐

获取文件和文件夹的图标

本文发布于:2023-11-28 11:24:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642203.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   图标   文件

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!