裝置圖片
裝置圖片顯示在 SignalRGB UI 的裝置頁面和裝置列表中。
- 解析度: 1024×1024 像素
- 有效區域: 920×920 像素(將裝置置於此區域的中心;外側每邊 52px 作為內邊距)
- 背景: 透明(PNG)
- 託管: 任何可公開存取的 URL——圖片通過 URL 引用,不與外掛程式捆綁
ImageUrl 匯出
Section titled “ImageUrl 匯出”從 ImageUrl() 匯出函式返回圖片的直接 URL:
export function ImageUrl() { return "https://example.com/images/my-device.png";}如果未匯出 ImageUrl(),裝置將在 UI 中顯示通用佔位圖片。
提交到外掛程式儲存庫
Section titled “提交到外掛程式儲存庫”若要將您的外掛程式包含在 SignalRGB 的官方外掛程式儲存庫中,請將其發送至 [email protected]。