Sets brightness of the device, value range is 0 - 100
(&self, percent: u8)
| 112 | |
| 113 | /// Sets brightness of the device, value range is 0 - 100 |
| 114 | pub async fn set_brightness(&self, percent: u8) -> Result<(), StreamDeckError> { |
| 115 | let device = self.device.lock().await; |
| 116 | block_in_place(move || device.set_brightness(percent)) |
| 117 | } |
| 118 | |
| 119 | /// Writes image data to Stream Deck device, changes must be flushed with `.flush()` before |
| 120 | /// they will appear on the device! |
nothing calls this directly
no outgoing calls
no test coverage detected