Class ControlRecordStreamRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iotvideoindustry.v20201201.models.ControlRecordStreamRequest
-
public class ControlRecordStreamRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ControlRecordStreamRequest()ControlRecordStreamRequest(ControlRecordStreamRequest 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 通道唯一标识StringgetCommand()Get |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放) | Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: "Command": "{"Action":"PAUSE"}" 暂停 "Command": "{"Action":"PLAY"}" 暂停恢复 "Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作StringgetDeviceId()Get 设备Id,设备的唯一标识StringgetStreamId()Get 流Id,流的唯一标识voidsetChannelId(String ChannelId)Set 通道唯一标识voidsetCommand(String Command)Set |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放) | Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: "Command": "{"Action":"PAUSE"}" 暂停 "Command": "{"Action":"PLAY"}" 暂停恢复 "Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作voidsetDeviceId(String DeviceId)Set 设备Id,设备的唯一标识voidsetStreamId(String StreamId)Set 流Id,流的唯一标识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
-
ControlRecordStreamRequest
public ControlRecordStreamRequest()
-
ControlRecordStreamRequest
public ControlRecordStreamRequest(ControlRecordStreamRequest 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
-
getDeviceId
public String getDeviceId()
Get 设备Id,设备的唯一标识- Returns:
- DeviceId 设备Id,设备的唯一标识
-
setDeviceId
public void setDeviceId(String DeviceId)
Set 设备Id,设备的唯一标识- Parameters:
DeviceId- 设备Id,设备的唯一标识
-
getStreamId
public String getStreamId()
Get 流Id,流的唯一标识- Returns:
- StreamId 流Id,流的唯一标识
-
setStreamId
public void setStreamId(String StreamId)
Set 流Id,流的唯一标识- Parameters:
StreamId- 流Id,流的唯一标识
-
getCommand
public String getCommand()
Get |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放) | Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: "Command": "{"Action":"PAUSE"}" 暂停 "Command": "{"Action":"PLAY"}" 暂停恢复 "Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作- Returns:
- Command |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放) | Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: "Command": "{"Action":"PAUSE"}" 暂停 "Command": "{"Action":"PLAY"}" 暂停恢复 "Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作
-
setCommand
public void setCommand(String Command)
Set |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放) | Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: "Command": "{"Action":"PAUSE"}" 暂停 "Command": "{"Action":"PLAY"}" 暂停恢复 "Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作- Parameters:
Command- |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放) | Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: "Command": "{"Action":"PAUSE"}" 暂停 "Command": "{"Action":"PLAY"}" 暂停恢复 "Command": "{"Action":"PLAY","Offset":"15"}" 位置偏移,可以替代jump操作
-
getChannelId
public String getChannelId()
Get 通道唯一标识- Returns:
- ChannelId 通道唯一标识
-
setChannelId
public void setChannelId(String ChannelId)
Set 通道唯一标识- Parameters:
ChannelId- 通道唯一标识
-
-