Class SyncRobotCommand
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ame.v20190916.models.SyncRobotCommand
-
public class SyncRobotCommand extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SyncRobotCommand()SyncRobotCommand(SyncRobotCommand 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 StringgetCommand()Get 可同时传入多个指令,顺序执行。取值有: Play:播放 Pause:暂停 SwitchPrevious:上一首 SwitchNext:下一首 SetPlayMode:设置播放模式 Seek:调整播放进度 SetPlaylist:歌单变更 SetAudioParam:音频参数变更 SendMessage:发送自定义消息 SetDestroyMode:设置销毁模式SetVolume:设置音量(已废弃,请采用 SetRealVolume) SetRealVolume:设置真实音量PlayCommandInputgetPlayCommandInput()Get 播放参数。SeekCommandInputgetSeekCommandInput()Get 播放进度,当Command取Seek时,必填。SendMessageCommandInputgetSendMessageCommandInput()Get 自定义消息,当Command取SendMessage时,必填。SetAudioParamCommandInputgetSetAudioParamCommandInput()Get 音频参数,当Command取SetAudioParam时,必填。SetDestroyModeCommandInputgetSetDestroyModeCommandInput()Get 销毁模式,当Command取SetDestroyMode时,必填。SetPlaylistCommandInputgetSetPlaylistCommandInput()Get 播放列表变更信息,当Command取SetPlaylist时,必填。SetPlayModeCommandInputgetSetPlayModeCommandInput()Get 播放模式,当Command取SetPlayMode时,必填。SetRealVolumeCommandInputgetSetRealVolumeCommandInput()Get 真实音量,当Command取SetRealVolume时,必填。SetVolumeCommandInputgetSetVolumeCommandInput()Get音量,当Command取SetVolume时,必填。(已废弃,请采用 SetRealVolumeCommandInput)voidsetCommand(String Command)Set 可同时传入多个指令,顺序执行。取值有: Play:播放 Pause:暂停 SwitchPrevious:上一首 SwitchNext:下一首 SetPlayMode:设置播放模式 Seek:调整播放进度 SetPlaylist:歌单变更 SetAudioParam:音频参数变更 SendMessage:发送自定义消息 SetDestroyMode:设置销毁模式SetVolume:设置音量(已废弃,请采用 SetRealVolume) SetRealVolume:设置真实音量voidsetPlayCommandInput(PlayCommandInput PlayCommandInput)Set 播放参数。voidsetSeekCommandInput(SeekCommandInput SeekCommandInput)Set 播放进度,当Command取Seek时,必填。voidsetSendMessageCommandInput(SendMessageCommandInput SendMessageCommandInput)Set 自定义消息,当Command取SendMessage时,必填。voidsetSetAudioParamCommandInput(SetAudioParamCommandInput SetAudioParamCommandInput)Set 音频参数,当Command取SetAudioParam时,必填。voidsetSetDestroyModeCommandInput(SetDestroyModeCommandInput SetDestroyModeCommandInput)Set 销毁模式,当Command取SetDestroyMode时,必填。voidsetSetPlaylistCommandInput(SetPlaylistCommandInput SetPlaylistCommandInput)Set 播放列表变更信息,当Command取SetPlaylist时,必填。voidsetSetPlayModeCommandInput(SetPlayModeCommandInput SetPlayModeCommandInput)Set 播放模式,当Command取SetPlayMode时,必填。voidsetSetRealVolumeCommandInput(SetRealVolumeCommandInput SetRealVolumeCommandInput)Set 真实音量,当Command取SetRealVolume时,必填。voidsetSetVolumeCommandInput(SetVolumeCommandInput SetVolumeCommandInput)Set音量,当Command取SetVolume时,必填。(已废弃,请采用 SetRealVolumeCommandInput)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
-
SyncRobotCommand
public SyncRobotCommand()
-
SyncRobotCommand
public SyncRobotCommand(SyncRobotCommand 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
-
getCommand
public String getCommand()
Get 可同时传入多个指令,顺序执行。取值有:- Play:播放
- Pause:暂停
- SwitchPrevious:上一首
- SwitchNext:下一首
- SetPlayMode:设置播放模式
- Seek:调整播放进度
- SetPlaylist:歌单变更
- SetAudioParam:音频参数变更
- SendMessage:发送自定义消息
- SetDestroyMode:设置销毁模式
SetVolume:设置音量(已废弃,请采用 SetRealVolume)- SetRealVolume:设置真实音量
- Returns:
- Command 可同时传入多个指令,顺序执行。取值有:
- Play:播放
- Pause:暂停
- SwitchPrevious:上一首
- SwitchNext:下一首
- SetPlayMode:设置播放模式
- Seek:调整播放进度
- SetPlaylist:歌单变更
- SetAudioParam:音频参数变更
- SendMessage:发送自定义消息
- SetDestroyMode:设置销毁模式
SetVolume:设置音量(已废弃,请采用 SetRealVolume)- SetRealVolume:设置真实音量
-
setCommand
public void setCommand(String Command)
Set 可同时传入多个指令,顺序执行。取值有:- Play:播放
- Pause:暂停
- SwitchPrevious:上一首
- SwitchNext:下一首
- SetPlayMode:设置播放模式
- Seek:调整播放进度
- SetPlaylist:歌单变更
- SetAudioParam:音频参数变更
- SendMessage:发送自定义消息
- SetDestroyMode:设置销毁模式
SetVolume:设置音量(已废弃,请采用 SetRealVolume)- SetRealVolume:设置真实音量
- Parameters:
Command- 可同时传入多个指令,顺序执行。取值有:- Play:播放
- Pause:暂停
- SwitchPrevious:上一首
- SwitchNext:下一首
- SetPlayMode:设置播放模式
- Seek:调整播放进度
- SetPlaylist:歌单变更
- SetAudioParam:音频参数变更
- SendMessage:发送自定义消息
- SetDestroyMode:设置销毁模式
SetVolume:设置音量(已废弃,请采用 SetRealVolume)- SetRealVolume:设置真实音量
-
getPlayCommandInput
public PlayCommandInput getPlayCommandInput()
Get 播放参数。- Returns:
- PlayCommandInput 播放参数。
-
setPlayCommandInput
public void setPlayCommandInput(PlayCommandInput PlayCommandInput)
Set 播放参数。- Parameters:
PlayCommandInput- 播放参数。
-
getSetPlaylistCommandInput
public SetPlaylistCommandInput getSetPlaylistCommandInput()
Get 播放列表变更信息,当Command取SetPlaylist时,必填。- Returns:
- SetPlaylistCommandInput 播放列表变更信息,当Command取SetPlaylist时,必填。
-
setSetPlaylistCommandInput
public void setSetPlaylistCommandInput(SetPlaylistCommandInput SetPlaylistCommandInput)
Set 播放列表变更信息,当Command取SetPlaylist时,必填。- Parameters:
SetPlaylistCommandInput- 播放列表变更信息,当Command取SetPlaylist时,必填。
-
getSeekCommandInput
public SeekCommandInput getSeekCommandInput()
Get 播放进度,当Command取Seek时,必填。- Returns:
- SeekCommandInput 播放进度,当Command取Seek时,必填。
-
setSeekCommandInput
public void setSeekCommandInput(SeekCommandInput SeekCommandInput)
Set 播放进度,当Command取Seek时,必填。- Parameters:
SeekCommandInput- 播放进度,当Command取Seek时,必填。
-
getSetAudioParamCommandInput
public SetAudioParamCommandInput getSetAudioParamCommandInput()
Get 音频参数,当Command取SetAudioParam时,必填。- Returns:
- SetAudioParamCommandInput 音频参数,当Command取SetAudioParam时,必填。
-
setSetAudioParamCommandInput
public void setSetAudioParamCommandInput(SetAudioParamCommandInput SetAudioParamCommandInput)
Set 音频参数,当Command取SetAudioParam时,必填。- Parameters:
SetAudioParamCommandInput- 音频参数,当Command取SetAudioParam时,必填。
-
getSendMessageCommandInput
public SendMessageCommandInput getSendMessageCommandInput()
Get 自定义消息,当Command取SendMessage时,必填。- Returns:
- SendMessageCommandInput 自定义消息,当Command取SendMessage时,必填。
-
setSendMessageCommandInput
public void setSendMessageCommandInput(SendMessageCommandInput SendMessageCommandInput)
Set 自定义消息,当Command取SendMessage时,必填。- Parameters:
SendMessageCommandInput- 自定义消息,当Command取SendMessage时,必填。
-
getSetPlayModeCommandInput
public SetPlayModeCommandInput getSetPlayModeCommandInput()
Get 播放模式,当Command取SetPlayMode时,必填。- Returns:
- SetPlayModeCommandInput 播放模式,当Command取SetPlayMode时,必填。
-
setSetPlayModeCommandInput
public void setSetPlayModeCommandInput(SetPlayModeCommandInput SetPlayModeCommandInput)
Set 播放模式,当Command取SetPlayMode时,必填。- Parameters:
SetPlayModeCommandInput- 播放模式,当Command取SetPlayMode时,必填。
-
getSetDestroyModeCommandInput
public SetDestroyModeCommandInput getSetDestroyModeCommandInput()
Get 销毁模式,当Command取SetDestroyMode时,必填。- Returns:
- SetDestroyModeCommandInput 销毁模式,当Command取SetDestroyMode时,必填。
-
setSetDestroyModeCommandInput
public void setSetDestroyModeCommandInput(SetDestroyModeCommandInput SetDestroyModeCommandInput)
Set 销毁模式,当Command取SetDestroyMode时,必填。- Parameters:
SetDestroyModeCommandInput- 销毁模式,当Command取SetDestroyMode时,必填。
-
getSetVolumeCommandInput
public SetVolumeCommandInput getSetVolumeCommandInput()
Get音量,当Command取SetVolume时,必填。(已废弃,请采用 SetRealVolumeCommandInput)- Returns:
- SetVolumeCommandInput
音量,当Command取SetVolume时,必填。(已废弃,请采用 SetRealVolumeCommandInput)
-
setSetVolumeCommandInput
public void setSetVolumeCommandInput(SetVolumeCommandInput SetVolumeCommandInput)
Set音量,当Command取SetVolume时,必填。(已废弃,请采用 SetRealVolumeCommandInput)- Parameters:
SetVolumeCommandInput-音量,当Command取SetVolume时,必填。(已废弃,请采用 SetRealVolumeCommandInput)
-
getSetRealVolumeCommandInput
public SetRealVolumeCommandInput getSetRealVolumeCommandInput()
Get 真实音量,当Command取SetRealVolume时,必填。- Returns:
- SetRealVolumeCommandInput 真实音量,当Command取SetRealVolume时,必填。
-
setSetRealVolumeCommandInput
public void setSetRealVolumeCommandInput(SetRealVolumeCommandInput SetRealVolumeCommandInput)
Set 真实音量,当Command取SetRealVolume时,必填。- Parameters:
SetRealVolumeCommandInput- 真实音量,当Command取SetRealVolume时,必填。
-
-