public class PolyvValidateLocalVideoVO extends java.lang.Object implements IPolyvValidateLocalVideoVO
IPolyvValidateLocalVideoVO.ResultType
RESULT_HAVE_LOCAL_VIDEO, RESULT_LOCAL_VIEWO_ERROR, RESULT_NOT_LOCAL_VIDEO
构造器和说明 |
---|
PolyvValidateLocalVideoVO(int result,
java.lang.String filePath,
java.lang.String videoId,
int bitrate) |
限定符和类型 | 方法和说明 |
---|---|
int |
getBitrate()
获取视频码率(清晰度)
|
java.lang.String |
getFilePath()
获取视频本地路径
|
int |
getResult()
获取结果类型
|
java.lang.String |
getVideoId()
获取视频id
|
boolean |
hasLocalVideo()
本地视频存在
|
boolean |
isHlsVideo()
是否HLS视频
|
boolean |
isM3u8Video()
已过时。
|
boolean |
isMp4Video()
是否MP4视频
|
java.lang.String |
toString() |
public PolyvValidateLocalVideoVO(int result, java.lang.String filePath, java.lang.String videoId, int bitrate)
public int getResult()
IPolyvValidateLocalVideoVO
getResult
在接口中 IPolyvValidateLocalVideoVO
public java.lang.String getFilePath()
IPolyvValidateLocalVideoVO
public java.lang.String getVideoId()
IPolyvValidateLocalVideoVO
getVideoId
在接口中 IPolyvValidateLocalVideoVO
public int getBitrate()
IPolyvValidateLocalVideoVO
getBitrate
在接口中 IPolyvValidateLocalVideoVO
public boolean hasLocalVideo()
IPolyvValidateLocalVideoVO
hasLocalVideo
在接口中 IPolyvValidateLocalVideoVO
true
:存在,false
:不存在或者错误@Deprecated public boolean isM3u8Video()
IPolyvValidateLocalVideoVO
isM3u8Video
在接口中 IPolyvValidateLocalVideoVO
true
:是,false
:不是IPolyvValidateLocalVideoVO.isHlsVideo()
public boolean isHlsVideo()
IPolyvValidateLocalVideoVO
isHlsVideo
在接口中 IPolyvValidateLocalVideoVO
true
:是,false
:不是public boolean isMp4Video()
IPolyvValidateLocalVideoVO
isMp4Video
在接口中 IPolyvValidateLocalVideoVO
true
:是,false
:不是public java.lang.String toString()
toString
在类中 java.lang.Object