public class PolyvScreenShot
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
class |
PolyvScreenShot.ScreenshotCallBack |
static interface |
PolyvScreenShot.ScreenshotListener |
构造器和说明 |
---|
PolyvScreenShot(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
<any> |
snapshot_t(java.lang.String vid,
int bitrate,
int currenttime_second,
PolyvScreenShot.ScreenshotListener listener,
java.lang.String savePath,
boolean updateToMediaDatabase) |
<any> |
snapshot(java.lang.String vid,
int bitrate,
int currenttime_second,
PolyvScreenShot.ScreenshotListener listener) |
<any> |
snapshot(java.lang.String vid,
int bitrate,
int currenttime_second,
PolyvScreenShot.ScreenshotListener listener,
java.lang.String savePath) |
<any> |
snapshot(java.lang.String vid,
int bitrate,
int currenttime_second,
PolyvScreenShot.ScreenshotListener listener,
java.lang.String savePath,
boolean updateToMediaDatabase)
网络截图
|
public <any> snapshot(java.lang.String vid, int bitrate, int currenttime_second, PolyvScreenShot.ScreenshotListener listener)
public <any> snapshot(java.lang.String vid, int bitrate, int currenttime_second, PolyvScreenShot.ScreenshotListener listener, java.lang.String savePath)
public <any> snapshot(java.lang.String vid, int bitrate, int currenttime_second, PolyvScreenShot.ScreenshotListener listener, java.lang.String savePath, boolean updateToMediaDatabase)
vid
- 视频idbitrate
- 码率currenttime_second
- 当前播放的时间,单位:秒listener
- 监听器savePath
- 保存路径updateToMediaDatabase
- 是否立刻更新到媒体数据库中public <any> snapshot_t(java.lang.String vid, int bitrate, int currenttime_second, PolyvScreenShot.ScreenshotListener listener, java.lang.String savePath, boolean updateToMediaDatabase) throws java.lang.Exception
java.lang.Exception