public class MediaCastPlayInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| MediaCastPlayInfo() | 
| MediaCastPlayInfo(MediaCastPlayInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Float | getCurrentSourceDuration()Get 当前播放的输入源时长,单位:秒。 | 
| String | getCurrentSourceId()Get 当前播放的输入源 Id。 | 
| Float | getCurrentSourcePosition()Get 当前播放的输入源的播放位置,单位:秒。 | 
| MediaCastDestinationStatus[] | getDestinationStatusSet()Get 输出源状态信息。 | 
| Long | getLoopCount()Get 已经循环播放的次数。 | 
| String | getStatus()Get 点播转直播项目运行状态,取值有:
 Working : 运行中;
 Idle: 空闲状态。 | 
| void | setCurrentSourceDuration(Float CurrentSourceDuration)Set 当前播放的输入源时长,单位:秒。 | 
| void | setCurrentSourceId(String CurrentSourceId)Set 当前播放的输入源 Id。 | 
| void | setCurrentSourcePosition(Float CurrentSourcePosition)Set 当前播放的输入源的播放位置,单位:秒。 | 
| void | setDestinationStatusSet(MediaCastDestinationStatus[] DestinationStatusSet)Set 输出源状态信息。 | 
| void | setLoopCount(Long LoopCount)Set 已经循环播放的次数。 | 
| void | setStatus(String Status)Set 点播转直播项目运行状态,取值有:
 Working : 运行中;
 Idle: 空闲状态。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic MediaCastPlayInfo()
public MediaCastPlayInfo(MediaCastPlayInfo source)
public String getStatus()
public void setStatus(String Status)
Status - 点播转直播项目运行状态,取值有:
public String getCurrentSourceId()
public void setCurrentSourceId(String CurrentSourceId)
CurrentSourceId - 当前播放的输入源 Id。public Float getCurrentSourcePosition()
public void setCurrentSourcePosition(Float CurrentSourcePosition)
CurrentSourcePosition - 当前播放的输入源的播放位置,单位:秒。public Float getCurrentSourceDuration()
public void setCurrentSourceDuration(Float CurrentSourceDuration)
CurrentSourceDuration - 当前播放的输入源时长,单位:秒。public MediaCastDestinationStatus[] getDestinationStatusSet()
public void setDestinationStatusSet(MediaCastDestinationStatus[] DestinationStatusSet)
DestinationStatusSet - 输出源状态信息。public Long getLoopCount()
public void setLoopCount(Long LoopCount)
LoopCount - 已经循环播放的次数。Copyright © 2025. All rights reserved.