Sets specified button's image, changes must be flushed with `.flush()` before they will appear on the device!
(&self, key: u8, image: DynamicImage)
| 160 | /// Sets specified button's image, changes must be flushed with `.flush()` before |
| 161 | /// they will appear on the device! |
| 162 | pub async fn set_button_image(&self, key: u8, image: DynamicImage) -> Result<(), StreamDeckError> { |
| 163 | let image = convert_image_async(self.kind, image)?; |
| 164 | |
| 165 | let device = self.device.lock().await; |
| 166 | block_in_place(move || device.write_image(key, &image)) |
| 167 | } |
| 168 | |
| 169 | /// Sets specified touch point's led strip color |
| 170 | pub async fn set_touchpoint_color(&self, point: u8, red: u8, green: u8, blue: u8) -> Result<(), StreamDeckError> { |
nothing calls this directly
no test coverage detected