public class ResourceDescriptor extends Object
| 构造器和说明 |
|---|
ResourceDescriptor(String type,
String fileKey,
String fileName,
Long durationMs) |
ResourceDescriptor(String type,
String fileKey,
String fileName,
Long durationMs,
String coverImageKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCoverImageKey()
Video cover image key when present.
|
Long |
getDurationMs()
Audio/video duration in milliseconds when present.
|
String |
getFileKey()
Feishu file key used by download APIs.
|
String |
getFileName()
Original file name when Feishu provides it.
|
String |
getType()
Resource type such as
image, file, audio or video. |
public ResourceDescriptor(String type, String fileKey, String fileName, Long durationMs)
public String getType()
image, file, audio or video.public String getFileKey()
public String getFileName()
public Long getDurationMs()
public String getCoverImageKey()
Copyright © 2026. All rights reserved.