| java.lang.Object | |
| ↳ | com.ksyun.media.shortvideo.utils.ProbeMediaInfoTools |
get MediaInfo
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | ProbeMediaInfoTools.MediaInfo | ||||||||||
| interface | ProbeMediaInfoTools.ProbeMediaInfoListener | return MediaInfo for probeMediaInfo | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ProbeMediaInfoTools() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Bitmap |
getVideoThumbnailAtTime(String url, long seekTime, int width, int height, boolean accurate)
get thumbnail
| ||||||||||
| void |
probeMediaInfo(String url, ProbeMediaInfoTools.ProbeMediaInfoListener listener)
get media info
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
get thumbnail
| url | the path for file |
|---|---|
| seekTime | the time for thumbnail ms |
| width | the width of thumbnail |
| height | the height of thumbnail |
| accurate | 是否精准截图, TRUE为精准截图,反之则否 |
get media info
| url | the path for file |
|---|---|
| listener | return |