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

Method clear_button_image

src/asynchronous.rs:148–151  ·  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

146 /// Sets button's image to blank, changes must be flushed with `.flush()` before
147 /// they will appear on the device!
148 pub async fn clear_button_image(&self, key: u8) -> Result<(), StreamDeckError> {
149 let device = self.device.lock().await;
150 block_in_place(move || device.clear_button_image(key))
151 }
152
153 /// Sets blank images to every button, changes must be flushed with `.flush()` before
154 /// they will appear on the device!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected