Skip to main content

send_activate_to_existing

Function send_activate_to_existing 

Source
pub fn send_activate_to_existing(app_id: &str) -> Result<()>
Expand description

Send an activation message to an already-running instance of the application.

This is typically called after SingleInstance::acquire returns Err(AlreadyRunning) to signal the existing instance to come to the foreground.