Class SyncRobotCommand

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