Class KTVRobotInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ame.v20190916.models.KTVRobotInfo
-
public class KTVRobotInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description KTVRobotInfo()KTVRobotInfo(KTVRobotInfo 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 LonggetCurIndex()Get 当前歌单索引位置。JoinRoomInputgetJoinRoomInput()Get 进房信息。String[]getPlaylists()Get 播放列表。LonggetPosition()Get 播放进度,单位:毫秒。StringgetRobotId()Get 机器人Id。StringgetRTCSystem()Get RTC厂商类型,取值有: TRTCSetAudioParamCommandInputgetSetAudioParamInput()Get 音频参数。SetPlayModeCommandInputgetSetPlayModeInput()Get 播放模式,PlayMode取值有: RepeatPlaylist:列表循环 Order:顺序播放 RepeatSingle:单曲循环 Shuffle:随机播放SetRealVolumeCommandInputgetSetRealVolumeInput()Get 真实音量,范围 0~100,默认为 50。SetVolumeCommandInputgetSetVolumeInput()Get音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )StringgetStatus()Get 状态,取值有: Play:播放 Pause:暂停 Destroy:销毁voidsetCurIndex(Long CurIndex)Set 当前歌单索引位置。voidsetJoinRoomInput(JoinRoomInput JoinRoomInput)Set 进房信息。voidsetPlaylists(String[] Playlists)Set 播放列表。voidsetPosition(Long Position)Set 播放进度,单位:毫秒。voidsetRobotId(String RobotId)Set 机器人Id。voidsetRTCSystem(String RTCSystem)Set RTC厂商类型,取值有: TRTCvoidsetSetAudioParamInput(SetAudioParamCommandInput SetAudioParamInput)Set 音频参数。voidsetSetPlayModeInput(SetPlayModeCommandInput SetPlayModeInput)Set 播放模式,PlayMode取值有: RepeatPlaylist:列表循环 Order:顺序播放 RepeatSingle:单曲循环 Shuffle:随机播放voidsetSetRealVolumeInput(SetRealVolumeCommandInput SetRealVolumeInput)Set 真实音量,范围 0~100,默认为 50。voidsetSetVolumeInput(SetVolumeCommandInput SetVolumeInput)Set音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )voidsetStatus(String Status)Set 状态,取值有: Play:播放 Pause:暂停 Destroy:销毁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
-
KTVRobotInfo
public KTVRobotInfo()
-
KTVRobotInfo
public KTVRobotInfo(KTVRobotInfo 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
-
getRobotId
public String getRobotId()
Get 机器人Id。- Returns:
- RobotId 机器人Id。
-
setRobotId
public void setRobotId(String RobotId)
Set 机器人Id。- Parameters:
RobotId- 机器人Id。
-
getStatus
public String getStatus()
Get 状态,取值有:- Play:播放
- Pause:暂停
- Destroy:销毁
- Returns:
- Status 状态,取值有:
- Play:播放
- Pause:暂停
- Destroy:销毁
-
setStatus
public void setStatus(String Status)
Set 状态,取值有:- Play:播放
- Pause:暂停
- Destroy:销毁
- Parameters:
Status- 状态,取值有:- Play:播放
- Pause:暂停
- Destroy:销毁
-
getPlaylists
public String[] getPlaylists()
Get 播放列表。- Returns:
- Playlists 播放列表。
-
setPlaylists
public void setPlaylists(String[] Playlists)
Set 播放列表。- Parameters:
Playlists- 播放列表。
-
getCurIndex
public Long getCurIndex()
Get 当前歌单索引位置。- Returns:
- CurIndex 当前歌单索引位置。
-
setCurIndex
public void setCurIndex(Long CurIndex)
Set 当前歌单索引位置。- Parameters:
CurIndex- 当前歌单索引位置。
-
getPosition
public Long getPosition()
Get 播放进度,单位:毫秒。- Returns:
- Position 播放进度,单位:毫秒。
-
setPosition
public void setPosition(Long Position)
Set 播放进度,单位:毫秒。- Parameters:
Position- 播放进度,单位:毫秒。
-
getSetAudioParamInput
public SetAudioParamCommandInput getSetAudioParamInput()
Get 音频参数。- Returns:
- SetAudioParamInput 音频参数。
-
setSetAudioParamInput
public void setSetAudioParamInput(SetAudioParamCommandInput SetAudioParamInput)
Set 音频参数。- Parameters:
SetAudioParamInput- 音频参数。
-
getJoinRoomInput
public JoinRoomInput getJoinRoomInput()
Get 进房信息。- Returns:
- JoinRoomInput 进房信息。
-
setJoinRoomInput
public void setJoinRoomInput(JoinRoomInput JoinRoomInput)
Set 进房信息。- Parameters:
JoinRoomInput- 进房信息。
-
getRTCSystem
public String getRTCSystem()
Get RTC厂商类型,取值有:- TRTC
- Returns:
- RTCSystem RTC厂商类型,取值有:
- TRTC
-
setRTCSystem
public void setRTCSystem(String RTCSystem)
Set RTC厂商类型,取值有:- TRTC
- Parameters:
RTCSystem- RTC厂商类型,取值有:- TRTC
-
getSetPlayModeInput
public SetPlayModeCommandInput getSetPlayModeInput()
Get 播放模式,PlayMode取值有:- RepeatPlaylist:列表循环
- Order:顺序播放
- RepeatSingle:单曲循环
- Shuffle:随机播放
- Returns:
- SetPlayModeInput 播放模式,PlayMode取值有:
- RepeatPlaylist:列表循环
- Order:顺序播放
- RepeatSingle:单曲循环
- Shuffle:随机播放
-
setSetPlayModeInput
public void setSetPlayModeInput(SetPlayModeCommandInput SetPlayModeInput)
Set 播放模式,PlayMode取值有:- RepeatPlaylist:列表循环
- Order:顺序播放
- RepeatSingle:单曲循环
- Shuffle:随机播放
- Parameters:
SetPlayModeInput- 播放模式,PlayMode取值有:- RepeatPlaylist:列表循环
- Order:顺序播放
- RepeatSingle:单曲循环
- Shuffle:随机播放
-
getSetVolumeInput
public SetVolumeCommandInput getSetVolumeInput()
Get音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )- Returns:
- SetVolumeInput
音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )
-
setSetVolumeInput
public void setSetVolumeInput(SetVolumeCommandInput SetVolumeInput)
Set音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )- Parameters:
SetVolumeInput-音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )
-
getSetRealVolumeInput
public SetRealVolumeCommandInput getSetRealVolumeInput()
Get 真实音量,范围 0~100,默认为 50。- Returns:
- SetRealVolumeInput 真实音量,范围 0~100,默认为 50。
-
setSetRealVolumeInput
public void setSetRealVolumeInput(SetRealVolumeCommandInput SetRealVolumeInput)
Set 真实音量,范围 0~100,默认为 50。- Parameters:
SetRealVolumeInput- 真实音量,范围 0~100,默认为 50。
-
-