語言
Service tree
影音播放器#2 · audio-video-amplifier屬性 5
影音播放器
#2 · audio-video-amplifier
Properties
音量
#2 · volume
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0 ~ 70,步長 1
靜音
#3 · mute
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
模式
#4 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0電影1音樂2KTV3遊戲4TV255DEFAULT
輸入訊源
#5 · input-control
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0本機1HDMI 12HDMI 23AUX4光纖5ARC6藍牙
Switch Status
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
播放控制#3 · play-control屬性 1動作 5
播放控制
#3 · play-control
Properties
播放狀態
#1 · playing-state
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0正在播放1暫停2停止
Actions
播放
#2 · play
暫停
#3 · pause
結束播放
#4 · stop
上一首
#5 · previous
下一首
#6 · next
應用程式#4 · application屬性 1動作 1事件 1
應用程式
#4 · application
Properties
應用識別碼
#1 · app-identity
- 格式
- uint8
- 讀寫
- 值
- 1騰訊視頻2QQ音樂3BiliBili4愛奇藝5酷喵影視6芒果TV7元響影院8影牛牛9音創K歌10全民K歌11唱吧12樂播投屏13央視頻14YingShiChang15OurTV16QianXunTV17BaoMiHua18NetEaseCloudMusic19NetEaseCloudGame20KuGouMusic21StartGame
Actions
開啟指定應用
#1 · open-app
入參
#1應用識別碼uint8
Events
App Opened
#1 · app-opened
觸發參數
#1應用識別碼uint8
智慧音箱#5 · intelligent-speaker屬性 2動作 3
智慧音箱
#5 · intelligent-speaker
Properties
文字內容
#1 · text-content
- 格式
- string
- 讀寫
- 值
- —
指令靜默執行
#2 · silent-execution
- 格式
- bool
- 讀寫
- 值
- —
Actions
播放文字
#3 · play-text
入參
#1文字內容string
執行文字指令
#4 · execute-text-directive
入參
#1文字內容string#2指令靜默執行bool
播放音樂
#5 · play-music
紅外電視盒控制#7 · ir-box-control動作 6
紅外電視盒控制
#7 · ir-box-control
Actions
開機
#1 · turn-on
關機
#2 · turn-off
音量+
#3 · volume-up
音量-
#4 · volume-down
開啟靜音
#5 · mute-on
關閉靜音
#6 · mute-off
按鍵控制#8 · remote-control屬性 4動作 3
按鍵控制
#8 · remote-control
Properties
鍵值
#1 · keycode
- 格式
- uint16
- 讀寫
- 值
- 0 ~ 65535,步長 1
虛擬環繞
#3 · virtual-surround
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
麥克風
#4 · microphone
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
#5 · local-dir
- 格式
- uint16
- 讀寫
- 值
- 011223344556677889910
Actions
按鍵按下
#1 · onpressed
入參
#1鍵值uint16
按鍵鬆開
#2 · onrelease
入參
#1鍵值uint16
播放本機資料夾
#3 · play-local-file
入參
#5uint16
