public class ControlRecordRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getChannelId()
Get 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
|
String |
getControlAction()
Get 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)
|
Long |
getPosition()
Get 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)
|
Float |
getScale()
Get 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)
|
String |
getSession()
Get 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
|
void |
setChannelId(String ChannelId)
Set 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
|
void |
setControlAction(String ControlAction)
Set 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)
|
void |
setPosition(Long Position)
Set 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)
|
void |
setScale(Float Scale)
Set 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)
|
void |
setSession(String Session)
Set 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
|
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, toJsonString
public ControlRecordRequest()
public ControlRecordRequest(ControlRecordRequest source)
public String getChannelId()
public void setChannelId(String ChannelId)
ChannelId
- 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})public String getSession()
public void setSession(String Session)
Session
- 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})public String getControlAction()
public void setControlAction(String ControlAction)
ControlAction
- 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)public Long getPosition()
public void setPosition(Long Position)
Position
- 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)public Float getScale()
public void setScale(Float Scale)
Scale
- 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)Copyright © 2024. All rights reserved.