公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.data.getVideoThumbId
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
获取给定素材资源的视频缩略图 ID。
返回缩略图 ID 和可选令牌,如果指定了回调,则返回 null。
用法 | 返回 |
---|
ee.data.getVideoThumbId(params, callback) | ThumbnailId |
参数 | 类型 | 详细信息 |
---|
params | VideoThumbnailOptions | 用于发出请求的参数。 |
callback | 函数(可选) | 可选的回调。如果未提供,则以同步方式进行调用。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis function retrieves the thumbnail ID and an optional token for a given video asset.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires input parameters specifying the video and can execute synchronously or asynchronously using a callback.\u003c/p\u003e\n"],["\u003cp\u003eIf a callback function is not provided, the function returns the thumbnail ID directly; otherwise, it's passed to the callback.\u003c/p\u003e\n"]]],[],null,["# ee.data.getVideoThumbId\n\n\u003cbr /\u003e\n\nGet a Video Thumbnail Id for a given asset.\n\n\u003cbr /\u003e\n\nReturns the thumb ID and optional token, or null if a callback is specified.\n\n| Usage | Returns |\n|-------------------------------------------------|-------------|\n| `ee.data.getVideoThumbId(params, `*callback*`)` | ThumbnailId |\n\n| Argument | Type | Details |\n|------------|-----------------------|------------------------------------------------------------------------|\n| `params` | VideoThumbnailOptions | Parameters to make the request with. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]