Class ControlRecordRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iss.v20230517.models.ControlRecordRequest
-
public class ControlRecordRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ControlRecordRequest()ControlRecordRequest(ControlRecordRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetChannelId()Get 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})StringgetControlAction()Get 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)LonggetPosition()Get 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)FloatgetScale()Get 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)StringgetSession()Get 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})voidsetChannelId(String ChannelId)Set 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})voidsetControlAction(String ControlAction)Set 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)voidsetPosition(Long Position)Set 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)voidsetScale(Float Scale)Set 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)voidsetSession(String Session)Set 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ControlRecordRequest
public ControlRecordRequest()
-
ControlRecordRequest
public ControlRecordRequest(ControlRecordRequest 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.
-
-
Method Detail
-
getChannelId
public String getChannelId()
Get 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})- Returns:
- ChannelId 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
-
setChannelId
public void setChannelId(String ChannelId)
Set 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})- Parameters:
ChannelId- 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
-
getSession
public String getSession()
Get 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})- Returns:
- Session 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
-
setSession
public void setSession(String Session)
Set 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})- Parameters:
Session- 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
-
getControlAction
public String getControlAction()
Get 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)- Returns:
- ControlAction 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)
-
setControlAction
public void setControlAction(String ControlAction)
Set 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)- Parameters:
ControlAction- 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)
-
getPosition
public Long getPosition()
Get 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)- Returns:
- Position 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)
-
setPosition
public void setPosition(Long Position)
Set 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)- Parameters:
Position- 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)
-
getScale
public Float getScale()
Get 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)- Returns:
- Scale 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)
-
setScale
public void setScale(Float Scale)
Set 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)- Parameters:
Scale- 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)
-
-