Class SyncKTVRobotCommandRequest

    • Constructor Detail

      • SyncKTVRobotCommandRequest

        public SyncKTVRobotCommandRequest()
      • SyncKTVRobotCommandRequest

        public SyncKTVRobotCommandRequest​(SyncKTVRobotCommandRequest 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。
      • 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:设置真实音量
  • Parameters:
    Command - 指令,取值有:
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量