MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / clear_button_image

Method clear_button_image

src/lib.rs:423–425  ·  view source on GitHub ↗

Sets button's image to blank, changes must be flushed with `.flush()` before they will appear on the device!

(&self, key: u8)

Source from the content-addressed store, hash-verified

421 /// Sets button's image to blank, changes must be flushed with `.flush()` before
422 /// they will appear on the device!
423 pub fn clear_button_image(&self, key: u8) -> Result<(), StreamDeckError> {
424 self.send_image(key, &self.kind.blank_image())
425 }
426
427 /// Sets blank images to every button, changes must be flushed with `.flush()` before
428 /// they will appear on the device!

Callers 1

Calls 2

send_imageMethod · 0.80
blank_imageMethod · 0.80

Tested by

no test coverage detected